Searched refs:chmod (Results 1 - 7 of 7) sorted by relevance

/macosx-10.5.8/xnu-1228.15.4/bsd/man/man2/
H A DMakefile34 chmod.2 \
/macosx-10.5.8/xnu-1228.15.4/bsd/sys/
H A Dstat.h518 int chmod(const char *, mode_t) __DARWIN_ALIAS(chmod); variable
H A Dsysproto.h1712 int chmod(struct proc *, struct chmod_args *, int *);
/macosx-10.5.8/xnu-1228.15.4/tools/tests/xnu_quick_test/
H A Dmakefile68 sudo chmod 4755 $(DSTROOT)/xnu_quick_test
H A Dtests.c882 * Test access, chmod and fchmod system calls.
908 /* test chmod */
909 my_err = chmod( my_pathp, S_IRWXU );
911 printf( "chmod call failed. got errno %d - %s. \n", errno, strerror( errno ) );
915 my_err = chmod( my_pathp, (S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP) );
917 printf( "chmod call failed. got errno %d - %s. \n", errno, strerror( errno ) );
955 printf( "chmod call appears to have failed. stat shows incorrect values in st_mode! \n" );
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/
H A Dinit_sysent.c62 {AC(chmod_args), 0, 0, (sy_call_t *)chmod, munge_ww, munge_dd, _SYSCALL_RET_INT_T, 8}, /* 15 = chmod */
/macosx-10.5.8/xnu-1228.15.4/bsd/vfs/
H A Dvfs_syscalls.c3992 /* chmod calls are not allowed for resource forks. */
4042 * A chmod system call using an extended argument list compared to the regular
4049 * Indirect: uap->path Path to object (same as 'chmod')
4052 * uap->mode File mode to set (same as 'chmod')
4106 chmod(__unused proc_t p, struct chmod_args *uap, __unused register_t *retval) function

Completed in 91 milliseconds