Home
last modified time | relevance | path

Searched refs:check_restricted (Results 1 – 2 of 2) sorted by relevance

/titanic_44/usr/src/lib/libshell/common/tests/
H A Drestricted.sh41 function check_restricted function
54 check_restricted /bin/echo || err_exit '/bin/echo not resticted'
55 check_restricted ./echo || err_exit './echo not resticted'
56 check_restricted 'SHELL=ksh' || err_exit 'SHELL asignment not resticted'
57 check_restricted 'PATH=/bin' || err_exit 'PATH asignment not resticted'
58 check_restricted 'FPATH=/bin' || err_exit 'FPATH asignment not resticted'
59 check_restricted 'ENV=/bin' || err_exit 'ENV asignment not resticted'
60 check_restricted 'print > file' || err_exit '> file not restricted'
62 check_restricted 'print <> empty' || err_exit '<> file not restricted'
65 ! check_restricted script || err_exit 'script without builtins should run in restricted mode'
[all …]
/titanic_44/usr/src/lib/libzfs/common/
H A Dlibzfs_config.c348 check_restricted(const char *poolname) in check_restricted() function
403 if (check_restricted(cn->cn_name)) in zpool_iter()
441 if (check_restricted(cn->cn_name)) in zfs_iter_root()