Searched refs:perm (Results 26 - 50 of 110) sorted by relevance

12345

/freebsd-9.3-release/crypto/openssh/
H A Dsftp-common.c61 a->perm = 0;
78 a->perm = st->st_mode;
97 st->st_mode = a->perm;
119 a.perm = buffer_get_int(b);
153 buffer_put_int(b, a->perm);
H A Dsftp-server.c677 mode = (a->flags & SSH2_FILEXFER_ATTR_PERMISSIONS) ? a->perm : 0666;
890 logit("set \"%s\" mode %04o", name, a->perm);
891 ret = chmod(name, a->perm & 07777);
941 logit("set \"%s\" mode %04o", name, a->perm);
943 ret = fchmod(fd, a->perm & 07777);
945 ret = chmod(name, a->perm & 07777);
1088 a->perm & 07777 : 0777;
H A Dsftp-client.c1057 mode = a->perm & 0777;
1062 (!S_ISREG(a->perm))) {
1330 if (!S_ISDIR(dirattrib->perm)) {
1338 mode = dirattrib->perm & 01777;
1360 if (S_ISDIR(dir_entries[i]->a.perm)) {
1368 } else if (S_ISREG(dir_entries[i]->a.perm) ) {
1466 a.perm &= 0777;
1641 a.perm &= 01777;
/freebsd-9.3-release/lib/libc/posix1e/
H A Dacl_from_text_nfs4.c119 acl_perm_t perm; local
121 error = _nfs4_parse_access_mask(str, &perm);
125 error = acl_set_permset(entry, &perm);
H A Dacl_strip.c71 acl_permset_t perm; local
105 if (acl_get_permset(entry, &perm) == -1)
111 if (acl_set_permset(entry_new, perm) == -1)
/freebsd-9.3-release/sys/gnu/fs/xfs/
H A Dxfs_acl.h72 #define _ACL_PERM_INVALID(perm) ((perm) & ~(ACL_READ|ACL_WRITE|ACL_EXECUTE))
/freebsd-9.3-release/sys/security/audit/
H A Daudit_bsm.c1494 struct ipc_perm perm; local
1496 perm.uid = ar->ar_arg_pipc_perm.pipc_uid;
1497 perm.gid = ar->ar_arg_pipc_perm.pipc_gid;
1498 perm.cuid = ar->ar_arg_pipc_perm.pipc_uid;
1499 perm.cgid = ar->ar_arg_pipc_perm.pipc_gid;
1500 perm.mode = ar->ar_arg_pipc_perm.pipc_mode;
1501 perm.seq = 0;
1502 perm.key = 0;
1503 tok = au_to_ipc_perm(&perm);
1529 struct ipc_perm perm; local
[all...]
H A Daudit_bsm_token.c488 au_to_ipc_perm(struct ipc_perm *perm) argument
509 if (sizeof(perm->uid) != sizeof(u_int32_t)) {
511 ADD_U_INT16(dptr, perm->uid);
513 ADD_U_INT16(dptr, perm->gid);
515 ADD_U_INT16(dptr, perm->cuid);
517 ADD_U_INT16(dptr, perm->cgid);
519 ADD_U_INT32(dptr, perm->uid);
520 ADD_U_INT32(dptr, perm->gid);
521 ADD_U_INT32(dptr, perm->cuid);
522 ADD_U_INT32(dptr, perm
[all...]
H A Daudit.h109 void audit_arg_svipc_perm(struct ipc_perm *perm);
/freebsd-9.3-release/contrib/openbsm/libbsm/
H A Dbsm_token.c539 au_to_ipc_perm(struct ipc_perm *perm) argument
562 if (sizeof(perm->uid) != sizeof(u_int32_t)) {
564 ADD_U_INT16(dptr, perm->uid);
566 ADD_U_INT16(dptr, perm->gid);
568 ADD_U_INT16(dptr, perm->cuid);
570 ADD_U_INT16(dptr, perm->cgid);
572 ADD_U_INT32(dptr, perm->uid);
573 ADD_U_INT32(dptr, perm->gid);
574 ADD_U_INT32(dptr, perm->cuid);
575 ADD_U_INT32(dptr, perm
[all...]
/freebsd-9.3-release/usr.sbin/timed/timed/
H A Dtimed.c89 char perm; member in struct:goodhost
731 add_good_host(name, perm)
733 int perm; /* 1=not part of the netgroup */
747 ghp->perm = perm;
751 if (0 == hentp && perm)
788 if (!ghp->perm) {
/freebsd-9.3-release/contrib/bind9/bin/named/
H A Dcontrolconf.c102 isc_uint32_t perm; member in struct:controllistener
1028 isc_uint32_t perm, owner, group; local
1029 perm = cfg_obj_asuint32(cfg_tuple_get(control, "perm"));
1033 if (listener->perm != perm || listener->owner != owner ||
1035 result = isc_socket_permunix(&listener->address, perm,
1038 listener->perm = perm;
1079 listener->perm
[all...]
/freebsd-9.3-release/contrib/bzip2/
H A Dhuffman.c172 Int32 *perm,
183 if (length[j] == i) { perm[pp] = j; pp++; };
170 BZ2_hbCreateDecodeTables( Int32 *limit, Int32 *base, Int32 *perm, UChar *length, Int32 minLen, Int32 maxLen, Int32 alphaSize ) argument
H A Dbzlib_private.h408 Int32 perm [BZ_N_GROUPS][BZ_MAX_ALPHA_SIZE]; member in struct:__anon860
/freebsd-9.3-release/sys/dev/cxgb/ulp/iw_cxgb/
H A Diw_cxgb_hal.h152 enum tpt_mem_perm perm, u32 zbva, u64 to, u32 len,
155 enum tpt_mem_perm perm, u32 zbva, u64 to, u32 len,
H A Diw_cxgb_hal.c729 /* IN: stag key, pdid, perm, zbva, to, len, page_size, pbl, and pbl_size
736 enum tpt_mem_type type, enum tpt_mem_perm perm,
768 tpt.flags_pagesize_qpid = htobe32(V_TPT_PERM(perm) |
828 enum tpt_mem_perm perm, u32 zbva, u64 to, u32 len,
832 return __cxio_tpt_op(rdev_p, 0, stag, 1, pdid, TPT_NON_SHARED_MR, perm,
838 enum tpt_mem_perm perm, u32 zbva, u64 to, u32 len,
841 return __cxio_tpt_op(rdev_p, 0, stag, 1, pdid, TPT_NON_SHARED_MR, perm,
734 __cxio_tpt_op(struct cxio_rdev *rdev_p, u32 reset_tpt_entry, u32 *stag, u8 stag_state, u32 pdid, enum tpt_mem_type type, enum tpt_mem_perm perm, u32 zbva, u64 to, u32 len, u8 page_size, u32 pbl_size, u32 pbl_addr) argument
827 cxio_register_phys_mem(struct cxio_rdev *rdev_p, u32 *stag, u32 pdid, enum tpt_mem_perm perm, u32 zbva, u64 to, u32 len, u8 page_size, u32 pbl_size, u32 pbl_addr) argument
837 cxio_reregister_phys_mem(struct cxio_rdev *rdev_p, u32 *stag, u32 pdid, enum tpt_mem_perm perm, u32 zbva, u64 to, u32 len, u8 page_size, u32 pbl_size, u32 pbl_addr) argument
/freebsd-9.3-release/usr.bin/find/
H A Dfunction.c1253 * -perm functions --
1278 char *perm; local
1282 perm = nextarg(option, argvp);
1287 if (*perm == '-') {
1289 ++perm;
1290 } else if (*perm == '+') {
1292 ++perm;
1295 if ((set = setmode(perm)) == NULL)
1296 errx(1, "%s: %s: illegal mode string", option->name, perm);
/freebsd-9.3-release/sys/fs/udf/
H A Dudf_vnops.c135 uint32_t perm; local
139 perm = le32toh(node->fentry->perm);
142 mode = perm & UDF_FENTRY_PERM_USER_MASK;
143 mode |= ((perm & UDF_FENTRY_PERM_GRP_MASK) >> 2);
144 mode |= ((perm & UDF_FENTRY_PERM_OWNER_MASK) >> 4);
H A Decma167-udf.h334 uint32_t perm; member in struct:file_entry
/freebsd-9.3-release/contrib/bsnmp/snmpd/
H A Dconfig.c136 int perm; member in struct:macro
1143 m->perm = 0;
1172 if (!m->perm) {
1378 m->perm = 1;
/freebsd-9.3-release/sys/fs/cd9660/
H A Diso.h196 u_char perm [ISODCL (9, 10)]; /* 9.5.3 */ member in struct:iso_extended_attributes
/freebsd-9.3-release/sys/kern/
H A Dsubr_acl_nfs4.c305 _acl_entry_matches(struct acl_entry *entry, acl_tag_t tag, acl_perm_t perm, argument
314 if (entry->ae_perm != perm)
327 _acl_append(struct acl *aclp, acl_tag_t tag, acl_perm_t perm, argument
340 entry->ae_perm = perm;
/freebsd-9.3-release/usr.sbin/adduser/
H A Drmuser.sh270 _insecure=`find $ffile ! -user 0 -or -perm +0022`
/freebsd-9.3-release/contrib/ntp/
H A DMakefile.in220 find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
785 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
789 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
827 || find "$(distdir)" -type d ! -perm -755 \
829 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
830 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
831 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
/freebsd-9.3-release/crypto/openssh/regress/
H A DMakefile47 sftp-perm \

Completed in 165 milliseconds

12345