Home
last modified time | relevance | path

Searched refs:pwd (Results 1 – 21 of 21) sorted by relevance

/busybox-1.35.0/loginutils/
Dsulogin.c32 struct passwd *pwd; in sulogin_main() local
57 pwd = getpwuid(0); in sulogin_main()
58 if (!pwd) { in sulogin_main()
65 r = ask_and_check_password_extended(pwd, timeout, in sulogin_main()
89 shell = pwd->pw_shell; in sulogin_main()
/busybox-1.35.0/testsuite/pwd/
Dpwd-prints-working-directory2 # "pwd" may be a built-in and have the same problem.
3 # External pwd _can't_ have that problem (current dir on Unix is physical).
4 test "$(`which pwd`)" = "$(busybox pwd)"
/busybox-1.35.0/libpwdgrp/
Duidgid_get.c33 struct passwd *pwd; in get_uidgid() local
49 pwd = getpwuid(n); in get_uidgid()
52 u->gid = pwd ? pwd->pw_gid : n; in get_uidgid()
56 pwd = getpwnam(user); in get_uidgid()
57 if (!pwd) in get_uidgid()
59 u->uid = pwd->pw_uid; in get_uidgid()
60 u->gid = pwd->pw_gid; in get_uidgid()
/busybox-1.35.0/testsuite/
Dreadlink.tests29 testing "readlink -f on a file" "readlink -f ./$TESTFILE" "$pwd/$TESTFILE\n" "" ""
30 testing "readlink -f on a link" "readlink -f ./$TESTLINK" "$pwd/$TESTFILE\n" "" ""
32 testing "readlink -f on a weird dir" "readlink -f $TESTDIR/../$TESTFILE" "$pwd/$TESTFILE\n" "" ""
Drealpath.tests34 testing "realpath on non-existent local file 1" "realpath $TESTDIR/not_file" "$pwd/$TESTDIR/not_fil…
37 testing "realpath on link to non-existent file 1" "realpath $TESTLINK1" "$pwd/$TESTDIR/not_file\n" …
39 testing "realpath on link to non-existent file 3" "realpath ./$TESTLINK1" "$pwd/$TESTDIR/not_file\n…
/busybox-1.35.0/testsuite/dirname/
Ddirname-works1 test x$(dirname $(pwd)) = x$(busybox dirname $(pwd))
/busybox-1.35.0/testsuite/basename/
Dbasename-works1 test x$(basename $(pwd)) = x$(busybox basename $(pwd))
/busybox-1.35.0/examples/var_service/dhcp_if/
Drun22 --pidfile="$pwd/udhcpc.pid" \
23 --script="$pwd/dhcp_handler"
/busybox-1.35.0/shell/ash_test/ash-misc/
Dtickquote1.tests1 echo _`"pwd`_
/busybox-1.35.0/shell/hush_test/hush-misc/
Dtickquote1.tests2 echo _`"pwd`_
/busybox-1.35.0/examples/var_service/supplicant_if/
Drun22 wpa_supplicant -i "$if" -c "$pwd/wpa_supplicant.conf" -d
/busybox-1.35.0/examples/var_service/zcip_if/
Drun20 "$pwd/zcip_handler"
/busybox-1.35.0/examples/var_service/ifplugd_if/
Drun19 ifplugd -aqlMns -t3 -u8 -d8 -i "$if" -r "$pwd/ifplugd_handler"
/busybox-1.35.0/archival/libarchive/
Ddata_extract_all.c225 struct passwd *pwd = getpwnam(file_header->tar__uname); in data_extract_all() local
226 if (pwd) uid = pwd->pw_uid; in data_extract_all()
/busybox-1.35.0/archival/libarchive/unxz/
DREADME28 KCPPFLAGS=-I"$(pwd)/../../include" M="$(pwd)" \
36 KCPPFLAGS=-I"$(pwd)/../../include" M="$(pwd)" \
/busybox-1.35.0/networking/
Dinetd.c609 struct passwd *pwd; in prepare_socket_fd() local
618 && (pwd = getpwnam(sep->se_user)) != NULL in prepare_socket_fd()
619 && pwd->pw_uid == 0 in prepare_socket_fd()
1219 struct passwd *pwd; in inetd_main() local
1480 pwd = getpwnam(sep->se_user); in inetd_main()
1481 if (pwd == NULL) { in inetd_main()
1489 if (real_uid != 0 && real_uid != pwd->pw_uid) { in inetd_main()
1494 if (pwd->pw_uid != real_uid) { in inetd_main()
1496 pwd->pw_gid = grp->gr_gid; in inetd_main()
1498 change_identity(pwd); in inetd_main()
/busybox-1.35.0/libbb/
Dappletlib.c543 struct passwd *pwd = getpwnam(*mem); in ingroup() local
544 if (pwd && (pwd->pw_uid == u)) in ingroup()
/busybox-1.35.0/shell/
DREADME24 pwd
/busybox-1.35.0/docs/
Dposix_conformance.txt36 Note: echo, printf, kill, pwd documented here as stand-alone applets,
520 pwd POSIX options
524 pwd Busybox specific options: None
/busybox-1.35.0/
DINSTALL113 LD_LIBRARY_PATH=`pwd` ./busybox
DNOFORK_NOEXEC.lst292 pwd - NOFORK