Home
last modified time | relevance | path

Searched refs:getsock_cap (Results 1 – 6 of 6) sorted by relevance

/freebsd-13-stable/sys/kern/
HDuipc_syscalls.c94 getsock_cap(struct thread *td, int fd, cap_rights_t *rightsp, in getsock_cap() function
199 error = getsock_cap(td, fd, &cap_bind_rights, in kern_bindat()
252 error = getsock_cap(td, s, &cap_listen_rights, in kern_listen()
336 error = getsock_cap(td, s, &cap_accept_rights, in kern_accept4()
496 error = getsock_cap(td, fd, &cap_connect_rights, in kern_connectat()
743 error = getsock_cap(td, s, rights, &fp, NULL, NULL); in kern_sendit()
919 error = getsock_cap(td, s, &cap_recv_rights, in kern_recvit()
1201 error = getsock_cap(td, s, &cap_shutdown_rights, in kern_shutdown()
1259 error = getsock_cap(td, s, &cap_setsockopt_rights, in kern_setsockopt()
1324 error = getsock_cap(td, s, &cap_getsockopt_rights, in kern_getsockopt()
[all …]
HDkern_sendfile.c656 error = getsock_cap(td, s, &cap_send_rights, in sendfile_getsock()
/freebsd-13-stable/sys/netinet/
HDsctp_syscalls.c154 error = getsock_cap(td, uap->sd, cap_rights_init_one(&rights, CAP_PEELOFF),
253 error = getsock_cap(td, uap->sd, &rights, &fp, NULL, NULL);
362 error = getsock_cap(td, uap->sd, &rights, &fp, NULL, NULL);
473 error = getsock_cap(td, uap->sd, cap_rights_init_one(&rights, CAP_RECV),
/freebsd-13-stable/sys/compat/linux/
HDlinux_socket.c980 error = getsock_cap(td, args->s, &cap_connect_rights, in linux_connect()
1050 error1 = getsock_cap(td, s, &cap_accept_rights, &fp1, NULL, NULL); in linux_accept_common()
1213 error = getsock_cap(td, args->s, &cap_send_rights, &fp, in linux_send()
1267 error = getsock_cap(td, args->s, &cap_send_connect_rights, in linux_sendto()
1401 error = getsock_cap(td, s, &cap_send_rights, &fp, in linux_sendmsg_common()
1930 error = getsock_cap(td, args->s, &cap_recv_rights, in linux_recvmsg()
1949 error = getsock_cap(td, s, &cap_recv_rights, in linux_recvmmsg_common()
/freebsd-13-stable/sys/sys/
HDsocketvar.h421 int getsock_cap(struct thread *td, int fd, cap_rights_t *rightsp,
/freebsd-13-stable/sys/dev/iscsi_initiator/
HDiscsi.c393 error = getsock_cap(td, fd, cap_rights_init_one(&rights, CAP_SOCK_CLIENT), in i_setsoc()