Lines Matching defs:rights
3 * The Regents of the University of California. All rights reserved.
31 The Regents of the University of California. All rights reserved.\n";
746 * Ensure that, on a dump file's descriptor, we have all the rights
792 * I/O library that knows what rights are needed by the standard
802 cap_rights_t rights;
804 cap_rights_init(&rights, CAP_SEEK, CAP_WRITE, CAP_FCNTL);
805 if (cap_rights_limit(fd, &rights) < 0 && errno != ENOSYS) {
1124 cap_rights_t rights;
1621 cap_rights_init(&rights, CAP_READ);
1622 if (cap_rights_limit(fileno(pcap_file(pd)), &rights) < 0 &&
1852 * so we add the relevant access rights.
1854 cap_rights_init(&rights, CAP_IOCTL, CAP_READ, CAP_EVENT);
1855 if (cap_rights_limit(pcap_fileno(pd), &rights) < 0 &&
1911 cap_rights_init(&rights, CAP_CREATE, CAP_FCNTL,
1913 if (cap_rights_limit(dumpinfo.dirfd, &rights) < 0 &&
1915 error("unable to limit directory rights");
2049 cap_rights_init(&rights, CAP_READ);
2051 &rights) < 0 && errno != ENOSYS) {