Searched refs:rights (Results 151 - 175 of 206) sorted by relevance

123456789

/freebsd-current/tools/test/stress2/misc/
H A Dumountf2.sh5 # All rights reserved.
75 * Copyright (c) 1998-2001 Apple Computer, Inc. All rights reserved.
90 * License for the specific language governing rights and limitations
H A Ddatamove5.sh5 # All rights reserved.
73 * All rights reserved.
/freebsd-current/sys/kern/
H A Dkern_descrip.c5 * The Regents of the University of California. All rights reserved.
1798 * Fill the given filecaps structure with full rights.
1854 ("%s: invalid rights", func));
3007 cap_rights_t rights; local
3014 rights = *ndp->ni_rightsneeded;
3015 cap_rights_set_one(&rights, CAP_LOOKUP);
3027 if (__predict_false(cap_check_inline_transient(haverights, &rights)))
3046 * If file descriptor doesn't have all rights,
3052 CAP_ALL(&rights);
3053 if (!cap_rights_contains(&ndp->ni_filecaps.fc_rights, &rights) ||
3111 cap_rights_t rights; local
4630 cap_rights_t rights; local
[all...]
H A Dkern_event.c7 * All rights reserved.
1303 cap_rights_t rights; local
1307 cap_rights_init_zero(&rights);
1309 cap_rights_set_one(&rights, CAP_KQUEUE_CHANGE);
1311 cap_rights_set_one(&rights, CAP_KQUEUE_EVENT);
1312 error = fget(td, fd, &rights, &fp);
2815 cap_rights_t rights; local
2818 error = fget(td, fd, cap_rights_init_one(&rights, CAP_KQUEUE_CHANGE),
H A Duipc_syscalls.c5 * The Regents of the University of California. All rights reserved.
83 * capability rights are present.
84 * If required copy of current set of capability rights is returned.
721 cap_rights_t *rights; local
729 rights = &cap_send_rights;
732 rights = &cap_send_connect_rights;
734 error = getsock(td, s, rights, &fp);
979 * rights and other control info, esp. as control info
981 * If we receive rights, trim the cmsghdr; anything else
1118 * rights wher
[all...]
/freebsd-current/contrib/elftoolchain/size/
H A Dsize.c3 * All rights reserved.
124 cap_rights_t rights; local
211 cap_rights_init(&rights, CAP_FSTAT, CAP_MMAP_R);
212 fa = fileargs_init(argc, argv, O_RDONLY, 0, &rights, FA_OPEN);
218 err(EXIT_FAILURE, "failed to limit stdio rights");
/freebsd-current/usr.sbin/rtsold/
H A Drtsol.c8 * All rights reserved.
105 cap_rights_t rights; local
141 cap_rights_init(&rights, CAP_EVENT, CAP_RECV);
142 if (caph_rights_limit(sock, &rights) < 0) {
/freebsd-current/usr.sbin/bhyve/
H A Drfb.c6 * All rights reserved.
1145 cap_rights_t rights; local
1198 cap_rights_init(&rights, CAP_ACCEPT, CAP_EVENT, CAP_READ, CAP_WRITE);
1199 if (caph_rights_limit(rc->sfd, &rights) == -1)
1200 errx(EX_OSERR, "Unable to apply rights for sandbox");
H A Dsnapshot.c10 * All rights reserved.
1410 cap_rights_t rights; local
1443 cap_rights_init(&rights, CAP_ACCEPT, CAP_READ, CAP_RECV, CAP_WRITE,
1446 if (caph_rights_limit(socket_fd, &rights) == -1)
1447 errx(EX_OSERR, "Unable to apply rights for sandbox");
/freebsd-current/lib/libvmmapi/
H A Dvmmapi.c5 * All rights reserved.
1147 cap_rights_t rights; local
1149 cap_rights_init(&rights, CAP_IOCTL, CAP_MMAP_RW);
1150 if (caph_rights_limit(ctx->fd, &rights) != 0)
1159 * capability rights can be kept in sync.
/freebsd-current/usr.sbin/traceroute/
H A Dtraceroute.c3 * The Regents of the University of California. All rights reserved.
502 cap_rights_t rights; local
972 cap_rights_init(&rights, CAP_SEND, CAP_SETSOCKOPT);
973 if (cansandbox && cap_rights_limit(sndsock, &rights) < 0) {
979 cap_rights_init(&rights, CAP_RECV, CAP_EVENT);
980 if (cansandbox && cap_rights_limit(s, &rights) < 0) {
/freebsd-current/usr.sbin/ctld/
H A Dkernel.c8 * All rights reserved.
1390 cap_rights_t rights; local
1393 cap_rights_init(&rights, CAP_IOCTL);
1394 if (caph_rights_limit(ctl_fd, &rights) < 0)
/freebsd-current/sys/dev/cxgbe/cxgbei/
H A Dicl_cxgbei.c4 * All rights reserved.
1102 cap_rights_t rights; local
1113 cap_rights_init_one(&rights, CAP_SOCK_CLIENT), &fp);
1784 cap_rights_t rights; local
1788 cap_rights_init_one(&rights, CAP_SOCK_CLIENT), &fp);
/freebsd-current/stand/i386/pmbr/
H A Dpmbr.S3 # All rights reserved.
/freebsd-current/lib/libcasper/services/cap_net/tests/
H A Dnet_test.c313 const int rights[] = { local
324 for (i = 0; i < nitems(rights); i++) {
325 if (current == rights[i])
328 limit = cap_net_limit_init(capnet, current | rights[i]);
/freebsd-current/usr.bin/truss/
H A Dsyscalls.c2418 uint32_t rights; local
2421 if (get_struct(pid, args[sc->offset], &rights,
2422 sizeof(rights)) == -1) {
2427 rights = args[sc->offset];
2428 print_mask_arg32(sysdecode_cap_fcntlrights, fp, rights);
2512 cap_rights_t rights; local
2514 if (get_struct(pid, args[sc->offset], &rights,
2515 sizeof(rights)) != -1) {
2517 sysdecode_cap_rights(fp, &rights);
/freebsd-current/contrib/elftoolchain/addr2line/
H A Daddr2line.c3 * All rights reserved.
902 cap_rights_t rights; local
960 if (caph_rights_limit(fd, cap_rights_init(&rights, CAP_FSTAT,
966 errx(EXIT_FAILURE, "failed to limit stdio rights");
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/channel_program/lua_core/
H A Dtst.lib_coroutine.lua8 --* without limitation the rights to use, copy, modify, merge, publish,
H A Dtst.lib_strings.lua8 --* without limitation the rights to use, copy, modify, merge, publish,
/freebsd-current/sys/netsmb/
H A Dsmb_conn.c5 * All rights reserved.
415 vcp->vc_mode = vcspec->rights & SMBM_MASK;
781 ssp->ss_mode = shspec->rights & SMBM_MASK;
/freebsd-current/sys/contrib/dev/acpica/compiler/
H A Dasltypes.y13 * All rights reserved.
18 * rights. You may have additional license terms from the party that provided
20 * property rights.
27 * Code in any form, with the right to sublicense such rights; and
45 * Code or modification with rights to further distribute source must include
57 * Code or modification without rights to further distribute source must
/freebsd-current/sbin/md5/
H A Dmd5.c9 * rights reserved.
402 cap_rights_t rights; local
582 err(1, "unable to limit rights for stdio");
606 cap_rights_init(&rights, CAP_READ, CAP_FSTAT, CAP_FCNTL), FA_OPEN | FA_LSTAT);
/freebsd-current/lib/libsysdecode/
H A Dflags.c2 * Copyright (c) 2006 "David Kirchner" <dpk@dpk.net>. All rights reserved.
239 sysdecode_cap_fcntlrights(FILE *fp, uint32_t rights, uint32_t *rem) argument
242 return (print_mask_int(fp, capfcntl, rights, rem));
1031 /* Don't print redundant rights. */
1044 * Provide a breadcrumb if some of the provided rights are not included
1049 fprintf(fp, ",unknown rights");
1053 * Pre-sort the set of rights, which has a partial ordering defined by the
/freebsd-current/contrib/ncurses/
H A Ddist.mk8 # the rights to use, copy, modify, merge, publish, distribute, distribute #
/freebsd-current/contrib/elftoolchain/nm/
H A Dnm.c3 * All rights reserved.
405 cap_rights_t rights; local
409 cap_rights_init(&rights, CAP_FSTAT, CAP_MMAP_R);
419 fa = fileargs_init(argc, argv, O_RDONLY, 0, &rights, FA_OPEN);
425 err(EXIT_FAILURE, "failed to limit stdio rights");

Completed in 1010 milliseconds

123456789