Home
last modified time | relevance | path

Searched refs:S_IXUSR (Results 1 – 25 of 87) sorted by relevance

1234

/NextBSD/usr.bin/biff/
HDbiff.c81 sb.st_mode & S_IXUSR ? "y" : in main()
83 return (sb.st_mode & (S_IXUSR | S_IXGRP) ? 0 : 1); in main()
89 if (chmod(name, sb.st_mode & ~(S_IXUSR | S_IXGRP)) < 0) in main()
93 if (chmod(name, (sb.st_mode & ~(S_IXUSR | S_IXGRP)) | S_IXUSR) in main()
98 if (chmod(name, (sb.st_mode & ~(S_IXUSR | S_IXGRP)) | S_IXGRP) in main()
105 return (sb.st_mode & (S_IXUSR | S_IXGRP) ? 0 : 1); in main()
/NextBSD/crypto/openssh/openbsd-compat/
HDstrmode.c85 switch (mode & (S_IXUSR | S_ISUID)) { in strmode()
89 case S_IXUSR: in strmode()
95 case S_IXUSR | S_ISUID: in strmode()
HDmktemp.c87 if (mkdir(path, S_IRUSR|S_IWUSR|S_IXUSR) == 0) in mktemp_internal()
/NextBSD/lib/libc/string/
HDstrmode.c86 switch (mode & (S_IXUSR | S_ISUID)) { in strmode()
90 case S_IXUSR: in strmode()
96 case S_IXUSR | S_ISUID: in strmode()
/NextBSD/contrib/libreadline/
HDposixstat.h121 # define S_IXUSR S_IEXEC /* execute, owner */ macro
132 # define S_IRWXU (S_IRUSR | S_IWUSR | S_IXUSR)
140 #define S_IXUGO (S_IXUSR | S_IXGRP | S_IXOTH)
/NextBSD/contrib/binutils/binutils/
HDfilemode.c74 #ifndef S_IXUSR
75 #define S_IXUSR 0100 macro
113 str[3] = (mode & S_IXUSR) != 0 ? 'x' : '-'; in mode_string()
/NextBSD/contrib/groff/src/include/
HDposix.h49 #ifndef S_IXUSR
50 #define S_IXUSR 0100 macro
/NextBSD/libexec/comsat/
HDcomsat.c175 if (stat(tty, &stb) == -1 || !(stb.st_mode & (S_IXUSR | S_IXGRP))) { in notify()
195 switch (stb.st_mode & (S_IXUSR | S_IXGRP)) { in notify()
196 case S_IXUSR: in notify()
197 case (S_IXUSR | S_IXGRP): in notify()
/NextBSD/include/apple/sys/_types/
HD_s_ifmt.h52 #define S_IXUSR 0000100 /* [XSI] X for owner */ macro
72 #define S_IEXEC S_IXUSR /* backward compatability */
/NextBSD/sys/kern/
HDsubr_acl_nfs4.c241 (file_mode & (S_IXUSR | S_IXGRP | S_IXOTH)) == 0) in vaccess_acl_nfs4()
270 (S_IXUSR | S_IXGRP | S_IXOTH)) != 0 && in vaccess_acl_nfs4()
678 if (mode & S_IXUSR) in acl_nfs4_sync_acl_from_mode_draft()
763 ((seen & S_IXUSR) == 0)) { in acl_nfs4_sync_mode_from_acl()
764 seen |= S_IXUSR; in acl_nfs4_sync_mode_from_acl()
766 mode |= S_IXUSR; in acl_nfs4_sync_mode_from_acl()
823 if ((seen & S_IXUSR) == 0) { in acl_nfs4_sync_mode_from_acl()
824 seen |= S_IXUSR; in acl_nfs4_sync_mode_from_acl()
826 mode |= S_IXUSR; in acl_nfs4_sync_mode_from_acl()
1151 if (mode & S_IXUSR) in acl_nfs4_compute_inherited_acl_psarc()
HDsubr_acl_posix1e.c101 (S_IXUSR | S_IXGRP | S_IXOTH)) != 0 && in vaccess_acl_posix1e()
382 if (mode & S_IXUSR) in acl_posix1e_mode_to_perm()
459 mode |= S_IXUSR; in acl_posix1e_perms_to_mode()
/NextBSD/contrib/apr/file_io/unix/
HDfileacc.c46 mode |= S_IXUSR; in apr_unix_perms2mode()
81 if (mode & S_IXUSR) in apr_unix_mode2perms()
/NextBSD/contrib/elftoolchain/ar/
HDutil.c136 c = (m & S_IXUSR) ? 's' : 'S'; in bsdar_strmode()
138 c = (m & S_IXUSR) ? 'x' : '-'; in bsdar_strmode()
/NextBSD/contrib/tcsh/
HDtc.os.h308 #ifndef S_IXUSR
309 # define S_IXUSR S_IEXEC macro
327 # define S_IRWXU (S_IRUSR | S_IWUSR | S_IXUSR)
/NextBSD/lib/libc/gen/
HDsetmode.c141 if (omode & (S_IFDIR|S_IXUSR|S_IXGRP|S_IXOTH)) in getmode()
276 permXbits = S_IXUSR|S_IXGRP|S_IXOTH; in setmode()
279 perm |= S_IXUSR|S_IXGRP|S_IXOTH; in setmode()
/NextBSD/usr.bin/at/
HDat.c281 cmask = umask(S_IRUSR | S_IWUSR | S_IXUSR); in writefile()
434 if (fchmod(fd2, S_IRUSR | S_IWUSR | S_IXUSR) < 0) in writefile()
494 || !(S_IXUSR & buf.st_mode || atverify)) in list_jobs()
520 (S_IXUSR & buf.st_mode) ? "":"(done)", in list_jobs()
/NextBSD/usr.sbin/lpr/chkprintcap/
HDchkprintcap.c275 #define SPOOL_DIR_MODE (S_IRUSR | S_IWUSR | S_IXUSR \
286 if (mkdir(sd, S_IRUSR | S_IXUSR) < 0) { in make_spool_dir()
/NextBSD/sys/sys/
HDstat.h204 #define S_IXUSR 0000100 /* X for owner */ macro
209 #define S_IEXEC S_IXUSR
/NextBSD/sys/fs/cd9660/
HDcd9660_node.c157 inop->inode.iso_mode |= S_IXUSR;
166 inop->inode.iso_mode |= S_IRUSR|S_IXUSR|S_IRGRP|S_IXGRP|S_IROTH|S_IXOTH;
/NextBSD/contrib/binutils/bfd/
HDaout-target.h181 #ifndef S_IXUSR in MY()
182 #define S_IXUSR 0100 /* Execute by owner. */ in MY() macro
184 if (stat(abfd->filename, &buf) == 0 && (buf.st_mode & S_IXUSR)) in MY()
HDbfdio.c30 #ifndef S_IXUSR
31 #define S_IXUSR 0100 /* Execute by owner. */ macro
HDopncls.c30 #ifndef S_IXUSR
31 #define S_IXUSR 0100 /* Execute by owner. */ macro
680 & (buf.st_mode | ((S_IXUSR | S_IXGRP | S_IXOTH) &~ mask)))); in bfd_close()
733 & (buf.st_mode | ((S_IXUSR | S_IXGRP | S_IXOTH) &~ mask)))); in bfd_close_all_done()
/NextBSD/contrib/ntp/lib/isc/unix/
HDfsaccess.c85 SET_AND_CLEAR(S_IXUSR, S_IXGRP, S_IXOTH); in isc_fsaccess_set()
/NextBSD/contrib/groff/src/libs/libgroff/
HDtmpname.cpp105 int fd = dir ? mkdir(tmpl, S_IRUSR | S_IWUSR | S_IXUSR) in gen_tempname()
/NextBSD/usr.bin/which/
HDwhich.c114 (fin.st_mode & (S_IXUSR | S_IXGRP | S_IXOTH)) != 0)) { in is_there()

1234