Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove FreeBSD's CAP_UNUSED* and CAP_ALL* constants #4184

Merged
merged 1 commit into from
Dec 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions libc-test/semver/freebsd.txt
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,6 @@ CAP_ACL_CHECK
CAP_ACL_DELETE
CAP_ACL_GET
CAP_ACL_SET
CAP_ALL0
CAP_ALL1
CAP_BIND
CAP_BINDAT
CAP_CHFLAGSAT
Expand Down Expand Up @@ -233,10 +231,6 @@ CAP_SOCK_SERVER
CAP_SYMLINKAT
CAP_TTYHOOK
CAP_UNLINKAT
CAP_UNUSED0_44
CAP_UNUSED0_57
CAP_UNUSED1_22
CAP_UNUSED1_57
CAP_WRITE
CCAR_OFLOW
CCTS_OFLOW
Expand Down
6 changes: 0 additions & 6 deletions src/unix/bsd/freebsdlike/freebsd/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2656,9 +2656,6 @@ pub const CAP_SOCK_SERVER: u64 = CAP_ACCEPT
| CAP_SEND
| CAP_SETSOCKOPT
| CAP_SHUTDOWN;
pub const CAP_ALL0: u64 = cap_right!(0, 0x000007FFFFFFFFFFu64);
pub const CAP_UNUSED0_44: u64 = cap_right!(0, 0x0000080000000000u64);
pub const CAP_UNUSED0_57: u64 = cap_right!(0, 0x0100000000000000u64);
pub const CAP_MAC_GET: u64 = cap_right!(1, 0x0000000000000001u64);
pub const CAP_MAC_SET: u64 = cap_right!(1, 0x0000000000000002u64);
pub const CAP_SEM_GETVALUE: u64 = cap_right!(1, 0x0000000000000004u64);
Expand All @@ -2681,9 +2678,6 @@ pub const CAP_ACL_GET: u64 = cap_right!(1, 0x0000000000040000u64);
pub const CAP_ACL_SET: u64 = cap_right!(1, 0x0000000000080000u64);
pub const CAP_KQUEUE_CHANGE: u64 = cap_right!(1, 0x0000000000100000u64);
pub const CAP_KQUEUE: u64 = CAP_KQUEUE_EVENT | CAP_KQUEUE_CHANGE;
pub const CAP_ALL1: u64 = cap_right!(1, 0x00000000001FFFFFu64);
pub const CAP_UNUSED1_22: u64 = cap_right!(1, 0x0000000000200000u64);
pub const CAP_UNUSED1_57: u64 = cap_right!(1, 0x0100000000000000u64);
pub const CAP_FCNTL_GETFL: u32 = 1 << 3;
pub const CAP_FCNTL_SETFL: u32 = 1 << 4;
pub const CAP_FCNTL_GETOWN: u32 = 1 << 5;
Expand Down
Loading