/openbsd/lib/libc/string/ |
H A D | strmode.c | 76 switch (mode & (S_IXUSR | S_ISUID)) { in strmode() 83 case S_ISUID: in strmode() 86 case S_IXUSR | S_ISUID: in strmode()
|
/openbsd/bin/cp/ |
H A D | utils.c | 106 fs->st_mode & ~(S_ISTXT | S_ISUID | S_ISGID)); in copy_file() 179 (S_ISUID | S_ISGID | S_ISVTX | S_IRWXU | S_IRWXG | S_IRWXO) in copy_file() 181 fs->st_mode & (S_ISUID | S_ISGID) && fs->st_uid == myuid) { in copy_file() 281 fs->st_mode &= S_ISTXT | S_ISUID | S_ISGID | S_IRWXU | S_IRWXG | S_IRWXO; in setfile() 302 fs->st_mode &= ~(S_ISTXT | S_ISUID | S_ISGID); in setfile()
|
/openbsd/usr.sbin/pkg_add/OpenBSD/ |
H A D | ArcCheck.pm | 140 $result &= ~(S_ISUID|S_ISGID); 148 $o->{mode} & (S_IRWXU | S_IRWXG | S_IRWXO | S_ISUID | S_ISGID)); 170 $o->{mode} &= ~(S_ISUID|S_ISGID); 241 $entry->{mode} = $entry->_strip_modes($item) & ~(S_ISUID|S_ISGID);
|
/openbsd/gnu/usr.bin/binutils-2.17/binutils/ |
H A D | filemode.c | 218 #ifdef S_ISUID in setst() 219 if (bits & S_ISUID) in setst()
|
/openbsd/gnu/usr.bin/binutils/binutils/ |
H A D | filemode.c | 230 #ifdef S_ISUID in setst() 231 if (bits & S_ISUID) in setst()
|
/openbsd/bin/mv/ |
H A D | mv.c | 293 (void) fchmod(to_fd, sbp->st_mode & ~(S_ISUID|S_ISGID)); in fastcopy() 311 if ((sbp->st_mode & (S_ISUID|S_ISGID))) { in fastcopy() 315 sbp->st_mode &= ~(S_ISUID|S_ISGID); in fastcopy()
|
H A D | cp.c | 450 fs->st_mode & ~(S_ISTXT | S_ISUID | S_ISGID)); in copy_file() 584 fs->st_mode &= S_ISTXT | S_ISUID | S_ISGID | S_IRWXU | S_IRWXG | S_IRWXO; in setfile() 605 fs->st_mode &= ~(S_ISTXT | S_ISUID | S_ISGID); in setfile()
|
/openbsd/sys/sys/ |
H A D | stat.h | 94 #define S_ISUID 0004000 /* set user id on execution */ macro 153 #define ALLPERMS (S_ISUID|S_ISGID|S_ISTXT|S_IRWXU|S_IRWXG|S_IRWXO)
|
/openbsd/lib/libc/gen/ |
H A D | setmode.c | 159 #define STANDARD_BITS (S_ISUID|S_ISGID|S_IRWXU|S_IRWXG|S_IRWXO) 225 who |= S_ISUID|S_IRWXU; in setmode() 258 perm |= S_ISUID|S_ISGID; in setmode()
|
/openbsd/usr.sbin/mtree/ |
H A D | mtree.h | 60 #define MBITS (S_ISUID|S_ISGID|S_ISTXT|S_IRWXU|S_IRWXG|S_IRWXO)
|
/openbsd/gnu/usr.bin/binutils/include/mpw/ |
H A D | stat.h | 34 #define S_ISUID 0004000 /* set user id on execution */ macro
|
/openbsd/usr.bin/rdistd/ |
H A D | server.c | 192 if (mode != -1 && IS_ON(mode, S_ISUID)) { in fchog() 196 mode &= ~S_ISUID; in fchog() 213 if (IS_ON(mode, S_ISUID) && in fchog() 215 mode &= ~S_ISUID; in fchog() 261 if (mode != -1 && IS_ON(mode, S_ISUID)) { in fchog() 264 mode &= ~S_ISUID; in fchog()
|
/openbsd/bin/mkdir/ |
H A D | mkdir.c | 82 if ((mode & (S_ISUID | S_ISGID | S_ISTXT)) == 0) { in main()
|
/openbsd/usr.bin/rsync/ |
H A D | receiver.c | 90 mode &= ~(S_ISTXT | S_ISUID | S_ISGID); in rsync_set_metadata() 152 mode &= ~(S_ISTXT | S_ISUID | S_ISGID); in rsync_set_metadata_at()
|
/openbsd/bin/pax/ |
H A D | pax.h | 251 #define SETBITS (S_ISUID | S_ISGID)
|
/openbsd/gnu/usr.bin/perl/ext/Fcntl/ |
H A D | Makefile.PL | 31 S_ISTXT S_ISUID S_ISVTX S_IWGRP S_IWOTH S_IWRITE
|
/openbsd/bin/ksh/ |
H A D | c_test.c | 258 (b1.st_mode & S_ISUID) == S_ISUID; in test_eval()
|
/openbsd/sys/stand/boot/ |
H A D | cmd.c | 486 lsrwx(sb->st_mode >> 6, (sb->st_mode & S_ISUID? "sS" : "x-")); in ls()
|
/openbsd/sys/arch/octeon/stand/rdboot/ |
H A D | cmd.c | 425 lsrwx(sb->st_mode >> 6, (sb->st_mode & S_ISUID? "sS" : "x-")); in ls()
|
/openbsd/sys/arch/powerpc64/stand/rdboot/ |
H A D | cmd.c | 425 lsrwx(sb->st_mode >> 6, (sb->st_mode & S_ISUID? "sS" : "x-")); in ls()
|
/openbsd/bin/test/ |
H A D | test.c | 471 i = S_ISUID; in filstat()
|
/openbsd/gnu/usr.bin/perl/ext/POSIX/t/ |
H A D | export.t | 69 S_ISGID S_ISLNK S_ISREG S_ISSOCK S_ISUID S_IWGRP S_IWOTH S_IWUSR S_IXGRP
|
/openbsd/libexec/security/ |
H A D | security | 577 if (-f _ && $mode & (S_ISUID | S_ISGID)) {
|
/openbsd/usr.bin/compress/ |
H A D | main.c | 818 fs->st_mode &= ~(S_ISUID|S_ISGID); in setfile()
|
/openbsd/usr.bin/find/ |
H A D | function.c | 1365 (S_ISUID|S_ISGID|S_ISTXT|S_IRWXU|S_IRWXG|S_IRWXO); in f_perm()
|