Skip to content

Commit fbfa292

Browse files
asomerstgross35
authored andcommitted
Remove some mask constants from FreeBSD
These are bitmasks that are intended to be used within the kernel. New features may widen them, so their values aren't stable. They probably don't have any legitimate uses in userland. And their values have changed in FreeBSD 15, which is causing CI failures. freebsd/freebsd-src@eea3e4d freebsd/freebsd-src@851dc7f
1 parent ffab35a commit fbfa292

File tree

4 files changed

+0
-6
lines changed

4 files changed

+0
-6
lines changed

libc-test/semver/freebsd-x86_64.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
Elf64_Auxinfo
22
KINFO_FILE_SIZE
33
MAP_32BIT
4-
_MC_FLAG_MASK
54
_MC_FPFMT_NODEV
65
_MC_FPFMT_XMM
76
_MC_FPOWNED_FPU

libc-test/semver/freebsd.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -677,8 +677,6 @@ JAIL_API_VERSION
677677
JAIL_ATTACH
678678
JAIL_CREATE
679679
JAIL_DYING
680-
JAIL_GET_MASK
681-
JAIL_SET_MASK
682680
JAIL_SYS_DISABLE
683681
JAIL_SYS_INHERIT
684682
JAIL_SYS_NEW

src/unix/bsd/freebsdlike/freebsd/mod.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2881,8 +2881,6 @@ pub const JAIL_CREATE: c_int = 0x01;
28812881
pub const JAIL_UPDATE: c_int = 0x02;
28822882
pub const JAIL_ATTACH: c_int = 0x04;
28832883
pub const JAIL_DYING: c_int = 0x08;
2884-
pub const JAIL_SET_MASK: c_int = 0x0f;
2885-
pub const JAIL_GET_MASK: c_int = 0x08;
28862884
pub const JAIL_SYS_DISABLE: c_int = 0;
28872885
pub const JAIL_SYS_NEW: c_int = 1;
28882886
pub const JAIL_SYS_INHERIT: c_int = 2;

src/unix/bsd/freebsdlike/freebsd/x86_64/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,6 @@ pub const MINSIGSTKSZ: size_t = 2048; // 512 * 4
334334
pub const _MC_HASSEGS: u32 = 0x1;
335335
pub const _MC_HASBASES: u32 = 0x2;
336336
pub const _MC_HASFPXSTATE: u32 = 0x4;
337-
pub const _MC_FLAG_MASK: u32 = _MC_HASSEGS | _MC_HASBASES | _MC_HASFPXSTATE;
338337

339338
pub const _MC_FPFMT_NODEV: c_long = 0x10000;
340339
pub const _MC_FPFMT_XMM: c_long = 0x10002;

0 commit comments

Comments
 (0)