mirror of
https://github.com/sheumann/hush.git
synced 2024-08-20 19:29:02 +00:00
whitespace fixes, no code changes
This commit is contained in:
parent
c3a9dc8ac5
commit
9504e444b8
@ -233,12 +233,12 @@ config CRYPTPW
|
|||||||
Applet for crypting a string.
|
Applet for crypting a string.
|
||||||
|
|
||||||
config CHPASSWD
|
config CHPASSWD
|
||||||
bool "chpasswd"
|
bool "chpasswd"
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
chpasswd reads a file of user name and password pairs from
|
chpasswd reads a file of user name and password pairs from
|
||||||
standard input and uses this information to update a group of
|
standard input and uses this information to update a group of
|
||||||
existing users.
|
existing users.
|
||||||
|
|
||||||
config SU
|
config SU
|
||||||
bool "su"
|
bool "su"
|
||||||
|
@ -1484,7 +1484,7 @@ static void pseudo_exec_argv(nommu_save_t *nommu_save, char **argv, int assignme
|
|||||||
if (!argv[assignment_cnt])
|
if (!argv[assignment_cnt])
|
||||||
_exit(EXIT_SUCCESS);
|
_exit(EXIT_SUCCESS);
|
||||||
|
|
||||||
new_env = expand_assignments(argv, assignment_cnt);
|
new_env = expand_assignments(argv, assignment_cnt);
|
||||||
#if BB_MMU
|
#if BB_MMU
|
||||||
putenv_all(new_env);
|
putenv_all(new_env);
|
||||||
free(new_env); /* optional */
|
free(new_env); /* optional */
|
||||||
|
@ -364,7 +364,7 @@ static void log_locally(time_t now, char *msg)
|
|||||||
}
|
}
|
||||||
G.curFileSize +=
|
G.curFileSize +=
|
||||||
#endif
|
#endif
|
||||||
full_write(G.logFD, msg, len);
|
full_write(G.logFD, msg, len);
|
||||||
fl.l_type = F_UNLCK;
|
fl.l_type = F_UNLCK;
|
||||||
fcntl(G.logFD, F_SETLKW, &fl);
|
fcntl(G.logFD, F_SETLKW, &fl);
|
||||||
}
|
}
|
||||||
|
@ -101,9 +101,9 @@ static void make_device(char *path, int delete)
|
|||||||
* "/sys/block/..." is for block devices. "/sys/bus" etc is not.
|
* "/sys/block/..." is for block devices. "/sys/bus" etc is not.
|
||||||
* But since 2.6.25 block devices are also in /sys/class/block.
|
* But since 2.6.25 block devices are also in /sys/class/block.
|
||||||
* We use strstr("/block/") to forestall future surprises. */
|
* We use strstr("/block/") to forestall future surprises. */
|
||||||
type = S_IFCHR;
|
type = S_IFCHR;
|
||||||
if (strstr(path, "/block/"))
|
if (strstr(path, "/block/"))
|
||||||
type = S_IFBLK;
|
type = S_IFBLK;
|
||||||
|
|
||||||
#if ENABLE_FEATURE_MDEV_CONF
|
#if ENABLE_FEATURE_MDEV_CONF
|
||||||
parser = config_open2("/etc/mdev.conf", fopen_for_read);
|
parser = config_open2("/etc/mdev.conf", fopen_for_read);
|
||||||
|
Loading…
Reference in New Issue
Block a user