/busybox-1.35.0/loginutils/ |
D | login.c | 183 static void initselinux(char *username, char *full_tty, in initselinux() argument 191 if (get_default_context(username, NULL, user_sid)) { in initselinux() 192 bb_error_msg_and_die("can't get SID for %s", username); in initselinux() 327 char username[USERNAME_SIZE]; in login_main() local 365 username[0] = '\0'; in login_main() 370 safe_strncpy(username, opt_user, sizeof(username)); in login_main() 374 safe_strncpy(username, argv[0], sizeof(username)); in login_main() 409 if (!username[0]) in login_main() 410 get_username_or_die(username, sizeof(username)); in login_main() 413 pamret = pam_start("login", username, &conv, &pamh); in login_main() [all …]
|
D | README | 32 c_iflag |= ICRNL; // if '\r' was used to end username 47 for username to be entered. 67 for username/password to be entered?
|
/busybox-1.35.0/coreutils/ |
D | id.c | 120 static int get_groups(const char *username, gid_t rgid, gid_t *groups, int *n) in get_groups() argument 124 if (username) { in get_groups() 128 m = getgrouplist(username, rgid, groups, n); in get_groups() 157 const char *username; in id_main() local 181 username = argv[optind]; in id_main() 182 if (username) { in id_main() 183 struct passwd *p = xgetpwnam(username); in id_main() 218 if (get_groups(username, rgid, groups, &n) < 0) { in id_main() 221 get_groups(username, rgid, groups, &n); in id_main() 257 if (username || getcon(&scontext)) { in id_main() [all …]
|
/busybox-1.35.0/libbb/ |
D | utmp.c | 17 void FAST_FUNC write_new_utmp(pid_t pid, int new_type, const char *tty_name, const char *username, … in write_new_utmp() argument 28 if (username) in write_new_utmp() 29 safe_strncpy(utent.ut_user, username, sizeof(utent.ut_user)); in write_new_utmp() 65 void FAST_FUNC update_utmp(pid_t pid, int new_type, const char *tty_name, const char *username, con… in update_utmp() argument 103 write_new_utmp(pid, new_type, tty_name, username, hostname); in update_utmp() 116 if (username) in update_utmp() 117 safe_strncpy(utent.ut_user, username, sizeof(utent.ut_user)); in update_utmp()
|
D | update_passwd.c | 19 static void check_selinux_update_passwd(const char *username) in check_selinux_update_passwd() argument 35 if (strcmp(seuser, username) != 0) { in check_selinux_update_passwd() 54 # define check_selinux_update_passwd(username) ((void)0) argument
|
/busybox-1.35.0/include/ |
D | libbb.h | 1197 void FAST_FUNC write_new_utmp(pid_t pid, int new_type, const char *tty_name, const char *username, … 1198 void FAST_FUNC update_utmp(pid_t pid, int new_type, const char *tty_name, const char *username, con… 1201 # define write_new_utmp(pid, new_type, tty_name, username, hostname) ((void)0) argument 1202 # define update_utmp(pid, new_type, tty_name, username, hostname) ((void)0) argument 1780 #define update_passwd(filename, username, data, member) \ argument 1781 update_passwd(filename, username, data) 1784 const char *username,
|