Searched refs:rights (Results 76 - 100 of 190) sorted by relevance

12345678

/freebsd-11-stable/contrib/xz/src/xz/
H A Dfile_io.c193 cap_rights_t rights; local
195 if (cap_rights_limit(src_fd, cap_rights_init(&rights,
199 if (cap_rights_limit(STDOUT_FILENO, cap_rights_init(&rights,
204 if (cap_rights_limit(user_abort_pipe[0], cap_rights_init(&rights,
208 if (cap_rights_limit(user_abort_pipe[1], cap_rights_init(&rights,
/freebsd-11-stable/usr.sbin/bhyve/
H A Dpci_passthru.c5 * All rights reserved.
650 cap_rights_t rights; local
659 cap_rights_init(&rights, CAP_IOCTL, CAP_READ, CAP_WRITE);
677 if (cap_rights_limit(pcifd, &rights) == -1 && errno != ENOSYS)
678 errx(EX_OSERR, "Unable to apply rights for sandbox");
680 errx(EX_OSERR, "Unable to apply rights for sandbox");
692 if (cap_rights_limit(iofd, &rights) == -1 && errno != ENOSYS)
693 errx(EX_OSERR, "Unable to apply rights for sandbox");
695 errx(EX_OSERR, "Unable to apply rights for sandbox");
707 cap_rights_clear(&rights, CAP_IOCT
[all...]
H A Dbhyverun.c5 * All rights reserved.
259 cap_rights_t rights; local
263 cap_rights_init(&rights, CAP_FCNTL, CAP_FSTAT, CAP_IOCTL);
264 cap_rights_set(&rights, CAP_WRITE);
267 if (cap_rights_limit(fds[i], &rights) < 0 && errno != ENOSYS)
936 cap_rights_t rights; local
979 cap_rights_init(&rights, CAP_IOCTL, CAP_MMAP_RW);
980 if (cap_rights_limit(vm_get_device_fd(ctx), &rights) == -1 &&
982 errx(EX_OSERR, "Unable to apply rights for sandbox");
989 errx(EX_OSERR, "Unable to apply rights fo
[all...]
H A Dblock_if.c5 * All rights reserved.
410 cap_rights_t rights; local
471 cap_rights_init(&rights, CAP_FSYNC, CAP_IOCTL, CAP_READ, CAP_SEEK,
474 cap_rights_clear(&rights, CAP_FSYNC, CAP_WRITE);
476 if (cap_rights_limit(fd, &rights) == -1 && errno != ENOSYS)
477 errx(EX_OSERR, "Unable to apply rights for sandbox");
508 errx(EX_OSERR, "Unable to apply rights for sandbox");
/freebsd-11-stable/sys/compat/linux/
H A Dlinux_event.c4 * All rights reserved.
453 cap_rights_t rights; local
465 cap_rights_init(&rights, CAP_KQUEUE_CHANGE), &epfp);
474 error = fget(td, args->fd, cap_rights_init(&rights, CAP_POLL_EVENT), &fp);
550 cap_rights_t rights; local
559 cap_rights_init(&rights, CAP_KQUEUE_EVENT), &epfp);
1199 cap_rights_t rights; local
1206 error = fget(td, args->fd, cap_rights_init(&rights, CAP_READ), &fp);
1234 cap_rights_t rights; local
1250 error = fget(td, args->fd, cap_rights_init(&rights, CAP_WRIT
[all...]
/freebsd-11-stable/sbin/ping/
H A Dping.c3 * The Regents of the University of California. All rights reserved.
37 The Regents of the University of California. All rights reserved.\n";
264 cap_rights_t rights; local
741 cap_rights_init(&rights, CAP_RECV, CAP_EVENT, CAP_SETSOCKOPT);
742 if (cap_rights_limit(srecv, &rights) < 0 && errno != ENOSYS)
745 cap_rights_init(&rights, CAP_SEND, CAP_SETSOCKOPT);
746 if (cap_rights_limit(ssend, &rights) < 0 && errno != ENOSYS)
830 cap_rights_init(&rights, CAP_RECV, CAP_EVENT);
831 if (cap_rights_limit(srecv, &rights) < 0 && errno != ENOSYS)
837 cap_rights_init(&rights, CAP_SEN
[all...]
/freebsd-11-stable/usr.sbin/iscsid/
H A Discsid.c5 * All rights reserved.
317 cap_rights_t rights; local
326 cap_rights_init(&rights, CAP_IOCTL);
327 error = cap_rights_limit(conn->conn_iscsi_fd, &rights);
/freebsd-11-stable/contrib/tcpdump/
H A Dtcpdump.c3 * The Regents of the University of California. All rights reserved.
31 The Regents of the University of California. All rights reserved.\n";
785 * Ensure that, on a dump file's descriptor, we have all the rights
831 * I/O library that knows what rights are needed by the standard
841 cap_rights_t rights; local
843 cap_rights_init(&rights, CAP_SEEK, CAP_WRITE, CAP_FCNTL);
844 if (cap_rights_limit(fd, &rights) < 0 && errno != ENOSYS) {
1167 cap_rights_t rights; local
1664 cap_rights_init(&rights, CAP_READ);
1665 if (cap_rights_limit(fileno(pcap_file(pd)), &rights) <
[all...]
/freebsd-11-stable/sys/security/mac/
H A Dmac_syscalls.c7 * All rights reserved.
232 cap_rights_t rights; local
252 error = fget(td, uap->fd, cap_rights_init(&rights, CAP_MAC_GET), &fp);
429 cap_rights_t rights; local
448 error = fget(td, uap->fd, cap_rights_init(&rights, CAP_MAC_SET), &fp);
/freebsd-11-stable/stand/pc98/btx/lib/
H A Dbtxv86.s3 # All rights reserved.
/freebsd-11-stable/stand/i386/btx/lib/
H A Dbtxv86.s3 # All rights reserved.
/freebsd-11-stable/stand/i386/kgzldr/
H A Dsio.s3 # All rights reserved.
H A Dstart.s3 # All rights reserved.
/freebsd-11-stable/sys/netsmb/
H A Dsmb_conn.h3 * All rights reserved.
323 mode_t rights; member in struct:smb_vcspec
340 mode_t rights; member in struct:smb_sharespec
/freebsd-11-stable/sys/security/audit/
H A Daudit_bsm_klib.c4 * All rights reserved.
469 cap_rights_t rights; local
498 error = fgetvp(td, dirfd, cap_rights_init(&rights), &cvnp);
/freebsd-11-stable/sys/i386/ibcs2/
H A Dibcs2_fcntl.c3 * All rights reserved.
204 cap_rights_t rights; local
209 cap_rights_init(&rights, CAP_IOCTL), &fp);
/freebsd-11-stable/share/dtrace/
H A Dblocking4 * All rights reserved.
H A Ddisklatency4 * All rights reserved.
H A Ddisklatencycmd4 * All rights reserved.
H A Dnfsattrstats4 * All rights reserved.
H A Dnfsclienttime4 * All rights reserved.
H A Dsiftr4 * All rights reserved.
H A Dtcptrack4 * All rights reserved.
/freebsd-11-stable/tools/tools/editing/
H A Dfreebsd.vim2 " All rights reserved.
/freebsd-11-stable/stand/pc98/boot0.5/
H A Dsyscons.s3 # All rights reserved. Unpublished rights reserved under the copyright

Completed in 136 milliseconds

12345678