Searched refs:perm (Results 1 - 25 of 241) sorted by relevance

12345678910

/freebsd-current/lib/libc/posix1e/
H A Dacl_perm.c38 _perm_is_invalid(acl_perm_t perm) argument
42 if ((perm & -perm) == perm &&
43 (perm & (ACL_POSIX1E_BITS | ACL_NFS4_PERM_BITS)) == perm)
52 * acl_add_perm() (23.4.1): add the permission contained in perm to the
56 acl_add_perm(acl_permset_t permset_d, acl_perm_t perm) argument
64 if (_perm_is_invalid(perm))
67 *permset_d |= perm;
95 acl_delete_perm(acl_permset_t permset_d, acl_perm_t perm) argument
112 acl_get_perm_np(acl_permset_t permset_d, acl_perm_t perm) argument
[all...]
H A Dacl_compat.c39 __oldacl_get_perm_np(acl_permset_t permset_d, oldacl_perm_t perm) argument
42 return (acl_get_perm_np(permset_d, perm));
46 __oldacl_add_perm(acl_permset_t permset_d, oldacl_perm_t perm) argument
49 return (acl_add_perm(permset_d, perm));
53 __oldacl_delete_perm(acl_permset_t permset_d, oldacl_perm_t perm) argument
56 return (acl_delete_perm(permset_d, perm));
H A Dacl_support.h59 int _posix1e_acl_perm_to_string(acl_perm_t perm, ssize_t buf_len,
61 int _posix1e_acl_string_to_perm(char *string, acl_perm_t *perm);
63 acl_perm_t perm);
H A Dacl_support.c274 _posix1e_acl_perm_to_string(acl_perm_t perm, ssize_t buf_len, char *buf) argument
282 if ((perm | ACL_PERM_BITS) != ACL_PERM_BITS) {
289 if (perm & ACL_READ)
294 if (perm & ACL_WRITE)
299 if (perm & ACL_EXECUTE)
311 _posix1e_acl_string_to_perm(char *string, acl_perm_t *perm) argument
336 *perm = myperm;
344 _posix1e_acl_add_entry(acl_t acl, acl_tag_t tag, uid_t id, acl_perm_t perm) argument
357 e->ae_perm = perm;
/freebsd-current/usr.sbin/periodic/etc/security/
H A D110.neggrpperm51 \( \( ! -perm +010 -and -perm +001 \) -or \
52 \( ! -perm +020 -and -perm +002 \) -or \
53 \( ! -perm +040 -and -perm +004 \) \) \
H A D100.chksetuid53 \( -perm -u+x -or -perm -g+x -or -perm -o+x \) \
54 \( -perm -u+s -or -perm -g+s \) -exec ls -lid -D "%FT%T" \{\} \+ |
/freebsd-current/sys/compat/linuxkpi/common/include/linux/
H A Dmoduleparam.h46 #define LINUXKPI_PARAM_PERM(perm) (((perm) & 0222) ? CTLFLAG_RWTUN : CTLFLAG_RDTUN)
55 #define LINUXKPI_PARAM_bool(name, var, perm) \
58 LINUXKPI_PARAM_NAME(name), LINUXKPI_PARAM_PERM(perm), &(var), 0, \
61 #define LINUXKPI_PARAM_byte(name, var, perm) \
64 LINUXKPI_PARAM_NAME(name), LINUXKPI_PARAM_PERM(perm), &(var), 0, \
67 #define LINUXKPI_PARAM_short(name, var, perm) \
70 LINUXKPI_PARAM_NAME(name), LINUXKPI_PARAM_PERM(perm), &(var), 0, \
73 #define LINUXKPI_PARAM_ushort(name, var, perm) \
76 LINUXKPI_PARAM_NAME(name), LINUXKPI_PARAM_PERM(perm),
[all...]
/freebsd-current/sys/crypto/rc4/
H A Drc4.c65 state->perm[i] = (u_char)i;
71 j += state->perm[i] + key[k];
72 swap_bytes(&state->perm[i], &state->perm[j]);
95 state->index2 += state->perm[state->index1];
98 swap_bytes(&state->perm[state->index1],
99 &state->perm[state->index2]);
102 j = state->perm[state->index1] + state->perm[state->index2];
103 outbuf[i] = inbuf[i] ^ state->perm[
[all...]
H A Drc4.h42 u_char perm[256]; member in struct:rc4_state
/freebsd-current/tests/sys/cddl/zfs/tests/txg_integrity/
H A Dmake_patterns.py29 perm = range(NUM_CHUNKS)
30 random.shuffle(perm)
31 return perm
/freebsd-current/tests/sys/cddl/zfs/tests/delegate/
H A Ddelegate_common.kshlib87 typeset perm
88 for perm in $permissions; do
91 check_fs_perm $user $perm $dtst
94 check_vol_perm $user $perm $dtst
99 log_note "Fail: $user should have $perm " \
131 typeset perm
132 for perm in $permissions; do
135 check_fs_perm $user $perm $dtst
138 check_vol_perm $user $perm $dtst
143 log_note "Fail: $user should not have $perm " \
[all...]
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/delegate/
H A Ddelegate_common.kshlib91 typeset perm
92 for perm in $permissions; do
95 check_fs_perm $user $perm $dtst
98 check_vol_perm $user $perm $dtst
102 log_note "Check $type $user $perm $dtst"
104 log_note "Fail: $user should have $perm" \
136 typeset perm
137 for perm in $permissions; do
140 check_fs_perm $user $perm $dtst
143 check_vol_perm $user $perm
[all...]
/freebsd-current/sys/contrib/openzfs/include/os/freebsd/spl/sys/
H A Dmod_os.h37 #define ZFS_MODULE_PARAM(scope_prefix, name_prefix, name, type, perm, desc) \
39 SYSCTL_##type(_vfs_ ## scope_prefix, OID_AUTO, name, perm, \
44 #define ZFS_MODULE_PARAM_CALL_IMPL(parent, name, perm, args, desc) \
46 SYSCTL_PROC(parent, OID_AUTO, name, CTLFLAG_MPSAFE | perm | args, desc)
49 scope_prefix, name_prefix, name, func, _, perm, desc) \
50 ZFS_MODULE_PARAM_CALL_IMPL(_vfs_ ## scope_prefix, name, perm, \
/freebsd-current/sys/contrib/openzfs/include/os/linux/kernel/linux/
H A Dmod_compat.h134 * "perm" the permissions (read/write or read only)
152 #define ZFS_MODULE_PARAM(scope_prefix, name_prefix, name, type, perm, desc) \
157 &name_prefix ## name, perm); \
171 * "perm" the permissions (read/write or read only)
183 scope_prefix, name_prefix, name, setfunc, getfunc, perm, desc) \
188 &name_prefix ## name, perm); \
196 scope_prefix, name_prefix, name, setfunc, getfunc, perm, desc) \
200 module_param_call(name_prefix ## name, setfunc, getfunc, NULL, perm); \
/freebsd-current/crypto/openssh/
H A Dsftp-common.h40 u_int32_t perm; member in struct:Attrib
/freebsd-current/lib/libc/gen/
H A Dsetmode.c171 mode_t mask, perm, permXbits, who; local
211 perm = (mode_t)perml;
212 ADDCMD('=', (STANDARD_BITS|S_ISTXT), perm, mask);
251 for (perm = 0, permXbits = 0;; ++p) {
254 perm |= S_IRUSR|S_IRGRP|S_IROTH;
259 perm |= S_ISUID|S_ISGID;
265 perm |= S_ISTXT;
269 perm |= S_IWUSR|S_IWGRP|S_IWOTH;
275 perm |= S_IXUSR|S_IXGRP|S_IXOTH;
285 if (perm) {
[all...]
/freebsd-current/sys/fs/nfs/
H A Dnfs_commonacl.c170 * And turn the mask into perm bits.
191 acl_perm_t perm = 0x0; local
196 perm |= ACL_READ_DATA;
200 perm |= ACL_LIST_DIRECTORY;
204 perm |= ACL_WRITE_DATA;
208 perm |= ACL_ADD_FILE;
212 perm |= ACL_APPEND_DATA;
216 perm |= ACL_ADD_SUBDIRECTORY;
220 perm |= ACL_READ_NAMED_ATTRS;
224 perm |
[all...]
/freebsd-current/sys/contrib/openzfs/module/zcommon/
H A Dzfs_deleg.c81 zfs_valid_permission_name(const char *perm) argument
83 if (zfs_deleg_canonicalize_perm(perm))
86 return (permset_namecheck(perm, NULL, NULL));
90 zfs_deleg_canonicalize_perm(const char *perm) argument
93 if (strcmp(perm, zfs_deleg_perm_tab[i].z_perm) == 0)
94 return (perm);
97 zfs_prop_t prop = zfs_name_to_prop(perm);
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/channel_program/lua_core/
H A Dtst.lib_table.lua138 function perm (s, n) function
147 perm(s, n - 1)
153 perm{}
154 perm{1}
155 perm{1,2}
156 perm{1,2,3}
157 perm{1,2,3,4}
158 perm{2,2,3,4}
159 perm{1,2,3,4,5}
160 perm{
[all...]
/freebsd-current/usr.bin/caesar/
H A Dcaesar.c47 #define ROTATE(ch, perm) \
49 isupper(ch) ? ('A' + (ch - 'A' + perm) % 26) : \
50 islower(ch) ? ('a' + (ch - 'a' + perm) % 26) : ch) : ch
/freebsd-current/tools/test/stress2/
H A Drun.sh47 find ./testcases -perm -1 \( -name "*.debug" -o -name "*.full" \) -delete \
81 TESTPROGS=`find testcases/ -perm -1 -type f | \
/freebsd-current/sys/contrib/openzfs/module/zfs/
H A Ddsl_deleg.c107 const char *perm = nvpair_name(permpair); local
109 if (strcmp(perm, ZFS_DELEG_PERM_ALLOW) == 0)
112 if ((error = dsl_deleg_access(ddname, perm, cr)) != 0)
188 const char *perm = nvpair_name(permpair); local
192 perm, 8, 1, &n, tx) == 0);
194 "%s %s", whokey, perm);
238 const char *perm = nvpair_name(permpair); local
241 (void) zap_remove(mos, jumpobj, perm, tx);
249 "%s %s", whokey, perm);
413 * there is no perm i
416 dsl_check_access(objset_t *mos, uint64_t zapobj, char type, char checkflag, void *valp, const char *perm) argument
437 dsl_check_user_access(objset_t *mos, uint64_t zapobj, const char *perm, int checkflag, cred_t *cr) argument
551 dsl_deleg_access_impl(dsl_dataset_t *ds, const char *perm, cred_t *cr) argument
655 dsl_deleg_access(const char *dsname, const char *perm, cred_t *cr) argument
[all...]
/freebsd-current/tools/test/stress2/misc/
H A Dmarcus3.sh45 n=`find ../testcases -perm -1 -type f | wc -l`
H A Dtmpfs20.sh51 export TESTPROGS=`cd ..; find testcases/ -perm -1 -type f | \
/freebsd-current/sys/contrib/openzfs/include/sys/
H A Ddsl_deleg.h78 int dsl_deleg_access(const char *ddname, const char *perm, cred_t *cr);
79 int dsl_deleg_access_impl(struct dsl_dataset *ds, const char *perm, cred_t *cr);

Completed in 240 milliseconds

12345678910