/freebsd-10.0-release/tools/regression/security/proc_to_proc/ |
H A D | scenario.c | 104 { &creds[2], &creds[0], EPERM, EPERM, EPERM, EPERM, 0, EPERM, "8. unpriv1 on priv"}, 105 { &creds[2], &creds[1], EPERM, EPERM, EPERM, EPERM, 0, EPERM, " [all...] |
/freebsd-10.0-release/tools/regression/pjdfstest/tests/chown/ |
H A D | 07.t | 4 desc="chown returns EPERM if the operation would change the ownership, but the effective user ID is not the super-user and the process is not an owner of the file" 24 expect EPERM -u 65534 -g 65534 chown ${n1}/${n2} 65533 65533 25 expect EPERM -u 65533 -g 65533 chown ${n1}/${n2} 65534 65534 26 expect EPERM -u 65533 -g 65533 chown ${n1}/${n2} 65533 65533 27 expect EPERM -u 65534 -g 65534 -- chown ${n1}/${n2} -1 65533 29 expect EPERM -u 65534 -g 65534 chown ${n1}/${n3} 65533 65533 30 expect EPERM -u 65533 -g 65533 chown ${n1}/${n3} 65534 65534 31 expect EPERM -u 65533 -g 65533 chown ${n1}/${n3} 65533 65533 32 expect EPERM -u 65534 -g 65534 -- chown ${n1}/${n3} -1 65533 41 expect EPERM [all...] |
/freebsd-10.0-release/tools/regression/pjdfstest/tests/open/ |
H A D | 11.t | 4 desc="open returns EPERM when the named file has its append-only flag set, the file is to be modified, and O_TRUNC is specified or O_APPEND is not specified" 28 expect EPERM open ${n0} O_WRONLY 29 expect EPERM open ${n0} O_RDWR 30 todo FreeBSD:ZFS "When fle is protected by SF_APPEND, open(O_TRUNC) should return EPERM." 31 expect EPERM open ${n0} O_RDONLY,O_TRUNC 32 todo FreeBSD:ZFS "When fle is protected by SF_APPEND, open(O_TRUNC) should return EPERM." 33 expect EPERM open ${n0} O_RDONLY,O_APPEND,O_TRUNC 34 todo FreeBSD:ZFS "When fle is protected by SF_APPEND, open(O_TRUNC) should return EPERM." 35 expect EPERM open ${n0} O_WRONLY,O_APPEND,O_TRUNC 36 todo FreeBSD:ZFS "When fle is protected by SF_APPEND, open(O_TRUNC) should return EPERM [all...] |
H A D | 10.t | 4 desc="open returns EPERM when the named file has its immutable flag set and the file is to be modified" 26 expect EPERM open ${n0} O_WRONLY 27 expect EPERM open ${n0} O_RDWR 28 expect EPERM open ${n0} O_RDONLY,O_TRUNC 44 expect EPERM open ${n0} O_WRONLY 45 expect EPERM open ${n0} O_RDWR 46 expect EPERM open ${n0} O_RDONLY,O_TRUNC
|
/freebsd-10.0-release/tools/regression/priv/ |
H A D | priv_cred.c | 68 expect("priv_setuid(!asroot, injail)", error, -1, EPERM); 70 expect("priv_setuid(!asroot, !injail)", error, -1, EPERM); 84 expect("priv_seteuid(!asroot, injail)", error, -1, EPERM); 86 expect("priv_seteuid(!asroot, !injail)", error, -1, EPERM); 100 expect("priv_setgid(!asroot, injail)", error, -1, EPERM); 102 expect("priv_setgid(!asroot, !injail)", error, -1, EPERM); 116 expect("priv_setegd(!asroot, injail)", error, -1, EPERM); 118 expect("priv_setegid(!asroot, !injail)", error, -1, EPERM); 135 expect("priv_setgroups(!asroot, injail)", error, -1, EPERM); 137 expect("priv_setgroups(!asroot, !injail)", error, -1, EPERM); [all...] |
H A D | priv_acct.c | 123 expect("priv_acct_enable(root, jail)", error, -1, EPERM); 127 expect("priv_acct_enable(!root, jail)", error, -1, EPERM); 129 expect("priv_acct_enable(!root, !jail)", error, -1, EPERM); 139 expect("priv_acct_disable(root, jail)", error, -1, EPERM); 143 expect("priv_acct_disable(!root, jail)", error, -1, EPERM); 145 expect("priv_acct_disable(!root, !jail)", error, -1, EPERM); 155 expect("priv_acct_rotate(root, jail)", error, -1, EPERM); 159 expect("priv_acct_rotate(!root, jail)", error, -1, EPERM); 161 expect("priv_acct_rotate(!root, !jail)", error, -1, EPERM); 171 expect("priv_acct_noopdisable(root, jail)", error, -1, EPERM); [all...] |
H A D | priv_clock_settime.c | 69 EPERM); 74 EPERM); 77 EPERM);
|
H A D | priv_settimeofday.c | 68 EPERM); 73 EPERM); 76 EPERM);
|
H A D | priv_vm_madv_protect.c | 61 EPERM); 66 EPERM); 69 EPERM);
|
H A D | priv_vm_mlock.c | 60 expect("priv_vm_mlock(asroot, injail)", error, -1, EPERM); 64 expect("priv_vm_mlock(!asroot, injail", error, -1, EPERM); 66 expect("priv_vm_mlock(!asroot, !injail", error, -1, EPERM);
|
H A D | priv_vm_munlock.c | 60 expect("priv_vm_munlock(asroot, injail)", error, -1, EPERM); 64 expect("priv_vm_munlock(!asroot, injail", error, -1, EPERM); 66 expect("priv_vm_munlock(!asroot, !injail", error, -1, EPERM);
|
H A D | priv_vfs_chflags.c | 119 error, -1, EPERM); 122 error, -1, EPERM); 167 error, -1, EPERM); 170 error, -1, EPERM); 185 error, -1, EPERM); 191 error, -1, EPERM); 194 error, -1, EPERM); 209 error, -1, EPERM); 215 error, -1, EPERM); 218 error, -1, EPERM); [all...] |
H A D | priv_sysctl_write.c | 94 EPERM); 99 EPERM); 102 EPERM); 118 EPERM); 121 EPERM);
|
H A D | priv_adjtime.c | 71 expect("priv_adjtime(asroot, injail)", error, -1, EPERM); 75 expect("priv_adjtime(!asroot, injail)", error, -1, EPERM); 77 expect("priv_adjtime(!asroot, !injail)", error, -1, EPERM);
|
H A D | priv_kenv_set.c | 62 expect("priv_kenv_set(asroot, injail)", error, -1, EPERM); 66 expect("priv_kenv_set(!asroot, injail)", error, -1, EPERM); 68 expect("priv_kenv_set(!asroot, !injail)", error, -1, EPERM);
|
H A D | priv_kenv_unset.c | 65 expect("priv_kenv_unset(asroot, injail)", error, -1, EPERM); 69 expect("priv_kenv_unset(!asroot, injail)", error, -1, EPERM); 71 expect("priv_kenv_unset(!asroot, !injail)", error, -1, EPERM);
|
H A D | priv_netinet_raw.c | 65 expect("priv_netinet_raw(asroot, injail)", error, -1, EPERM); 70 EPERM); 73 -1, EPERM);
|
H A D | priv_vfs_fhstat.c | 74 expect("priv_vfs_fhstat(asroot, injail)", error, -1, EPERM); 78 expect("priv_vfs_fhstat(!asroot, injail)", error, -1, EPERM); 80 expect("priv_vfs_fhstat(!asroot, !injail)", error, -1, EPERM);
|
H A D | priv_vfs_fhstatfs.c | 74 EPERM); 79 EPERM); 82 EPERM);
|
H A D | priv_vfs_getfh.c | 65 expect("priv_vfs_getfh(asroot, injail)", error, -1, EPERM); 69 expect("priv_vfs_getfh(!asroot, injail)", error, -1, EPERM); 71 expect("priv_vfs_getfh(!asroot, !injail)", error, -1, EPERM);
|
/freebsd-10.0-release/tools/regression/pjdfstest/tests/chflags/ |
H A D | 11.t | 4 desc="chflags returns EPERM if a user tries to set or remove the SF_SNAPSHOT flag" 24 expect EPERM -u 65534 -g 65534 chflags ${n1} SF_SNAPSHOT 26 expect EPERM chflags ${n1} SF_SNAPSHOT 29 expect EPERM -u 65534 -g 65534 chflags ${n1} SF_SNAPSHOT 31 expect EPERM chflags ${n1} SF_SNAPSHOT 41 expect EPERM -u 65534 -g 65534 lchflags ${n1} SF_SNAPSHOT 43 expect EPERM lchflags ${n1} SF_SNAPSHOT 46 expect EPERM -u 65534 -g 65534 lchflags ${n1} SF_SNAPSHOT 48 expect EPERM lchflags ${n1} SF_SNAPSHOT
|
H A D | 07.t | 4 desc="chflags returns EPERM when the effective user ID does not match the owner of the file and the effective user ID is not the super-user" 24 expect EPERM -u 65534 -g 65534 chflags ${n1} UF_NODUMP 27 expect EPERM -u 65533 -g 65533 chflags ${n1} UF_NODUMP 37 expect EPERM -u 65534 -g 65534 lchflags ${n1} UF_NODUMP 40 expect EPERM -u 65533 -g 65533 lchflags ${n1} UF_NODUMP
|
/freebsd-10.0-release/tools/regression/pjdfstest/tests/rmdir/ |
H A D | 09.t | 4 desc="rmdir returns EPERM if the named directory has its immutable, undeletable or append-only flag set" 26 expect EPERM rmdir ${n0} 32 expect EPERM rmdir ${n0} 38 todo FreeBSD:ZFS "Removing a directory protected by SF_APPEND should return EPERM." 39 expect EPERM rmdir ${n0} 40 todo FreeBSD:ZFS "Removing a directory protected by SF_APPEND should return EPERM." 42 todo FreeBSD:ZFS "Removing a directory protected by SF_APPEND should return EPERM." 49 expect EPERM rmdir ${n0} 55 expect EPERM rmdir ${n0} 61 expect EPERM rmdi [all...] |
/freebsd-10.0-release/tools/regression/pjdfstest/tests/unlink/ |
H A D | 09.t | 4 desc="unlink returns EPERM if the named file has its immutable, undeletable or append-only flag set" 26 expect EPERM unlink ${n0} 32 expect EPERM unlink ${n0} 38 todo FreeBSD:ZFS "Removing a file protected by SF_APPEND should return EPERM." 39 expect EPERM unlink ${n0} 40 todo FreeBSD:ZFS "Removing a file protected by SF_APPEND should return EPERM." 42 todo FreeBSD:ZFS "Removing a file protected by SF_APPEND should return EPERM." 49 expect EPERM unlink ${n0} 55 expect EPERM unlink ${n0} 61 expect EPERM unlin [all...] |
/freebsd-10.0-release/contrib/amd/amd/ |
H A D | ops_TEMPLATE.c | 129 error = EPERM; /* XXX: fixme */ 145 error = EPERM; /* XXX: fixme */ 161 error = EPERM; /* XXX: fixme */ 177 error = EPERM; /* XXX: fixme */ 193 error = EPERM; /* XXX: fixme */ 210 error = EPERM; /* XXX: fixme */ 229 error = EPERM; /* XXX: fixme */ 246 error = EPERM; /* XXX: fixme */
|