Searched defs:filemode (Results 1 - 7 of 7) sorted by relevance

/illumos-gate/usr/src/uts/common/syscall/
H A Dopen.c60 copen(int startfd, char *fname, int filemode, int createmode) argument
75 if (filemode & (FSEARCH|FEXEC)) {
81 if ((filemode & (FREAD|FWRITE)) ||
82 (filemode & (FSEARCH|FEXEC)) == (FSEARCH|FEXEC) ||
83 (filemode & (FAPPEND|FCREAT|FTRUNC|FXATTR|FXATTRDIROPEN)))
116 if (filemode & FXATTRDIROPEN) {
131 if (filemode & FXATTR) {
160 if (filemode & (FXATTR|FXATTRDIROPEN)) {
180 (filemode & FXATTRDIROPEN) ? LOOKUP_XATTR :
191 if (error == 0 && (filemode
[all...]
/illumos-gate/usr/src/lib/passwdutil/
H A Dfiles_attr.c908 mode_t filemode; local
919 filemode = stbuf.st_mode & S_IRUSR;
926 tempfd = open(SHADTEMP, O_WRONLY|O_CREAT|O_TRUNC, filemode);
/illumos-gate/usr/src/cmd/bnu/
H A Dcntrl.c256 mode_t filemode; local
981 filemode = PUB_FILEMODE;
983 filemode = (mode_t)lfilemode;
987 chmod(filename, (filemode & LEGALMODE) | PUB_FILEMODE);
1142 filemode = PUB_FILEMODE;
1144 filemode = (mode_t)lfilemode;
1148 chmod(filename, (filemode & LEGALMODE) | PUB_FILEMODE);
/illumos-gate/usr/src/uts/common/avs/ns/
H A Dcontract.h172 int vn_open(char *pnamep, void seg, int filemode, int createmode, argument
/illumos-gate/usr/src/uts/common/os/
H A Dexec.c1402 int filemode = FREAD; local
1405 if (error = falloc(NULL, filemode, &fp, fdp)) {
1410 if (error = VOP_OPEN(&vp, filemode, CRED(), NULL)) {
/illumos-gate/usr/src/cmd/savecore/
H A Dsavecore.c85 static int filemode; /* processing file, not dump device */ variable
358 if (filemode)
411 if (!filemode)
663 if (!filemode)
1425 if (!filemode)
1742 filemode = S_ISREG(st.st_mode);
1744 if (!filemode && defread("DUMPADM_CSAVE=off") == NULL)
1804 if (!fm_panic && !livedump && !filemode)
1929 if (!livedump && !filemode && !fm_panic)
/illumos-gate/usr/src/uts/common/fs/
H A Dvnode.c923 int filemode,
929 return (vn_openat(pnamep, seg, filemode, createmode, vpp, crwhy,
938 * are used for permissions. crwhy is defined iff filemode & FCREAT.
944 int filemode,
967 if (filemode & FREAD)
969 if (filemode & (FWRITE|FTRUNC))
971 if (filemode & (FSEARCH|FEXEC|FXATTRDIROPEN))
975 if (filemode & FNOFOLLOW)
980 if (filemode & FAPPEND)
984 if (filemode
920 vn_open( char *pnamep, enum uio_seg seg, int filemode, int createmode, struct vnode **vpp, enum create crwhy, mode_t umask) argument
941 vn_openat( char *pnamep, enum uio_seg seg, int filemode, int createmode, struct vnode **vpp, enum create crwhy, mode_t umask, struct vnode *startvp, int fd) argument
1241 vn_open_upgrade( vnode_t *vp, int filemode) argument
1255 vn_open_downgrade( vnode_t *vp, int filemode) argument
[all...]

Completed in 65 milliseconds