Skip to content

Commit 86bfc4e

Browse files
committed
freebsd: add missing SCM_ constants
1 parent d596cdf commit 86bfc4e

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

libc-test/semver/freebsd.txt

+6-1
Original file line numberDiff line numberDiff line change
@@ -1135,9 +1135,14 @@ SCALE_PPM
11351135
SCHED_FIFO
11361136
SCHED_OTHER
11371137
SCHED_RR
1138-
SCM_CREDS
11391138
SCM_RIGHTS
11401139
SCM_TIMESTAMP
1140+
SCM_CREDS
1141+
SCM_BINTIME
1142+
SCM_REALTIME
1143+
SCM_MONOTONIC
1144+
SCM_TIME_INFO
1145+
SCM_CREDS2
11411146
SCTP_ACTIVE
11421147
SCTP_ALL_ASSOC
11431148
SCTP_ADAPTATION_LAYER

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

+4
Original file line numberDiff line numberDiff line change
@@ -2997,6 +2997,10 @@ pub const MNT_SNAPSHOT: ::c_int = 0x01000000;
29972997
pub const MNT_UNION: ::c_int = 0x00000020;
29982998
pub const MNT_NONBUSY: ::c_int = 0x04000000;
29992999

3000+
pub const SCM_BINTIME: ::c_int = 0x04;
3001+
pub const SCM_REALTIME: ::c_int = 0x05;
3002+
pub const SCM_MONOTONIC: ::c_int = 0x06;
3003+
pub const SCM_TIME_INFO: ::c_int = 0x07;
30003004
pub const SCM_CREDS2: ::c_int = 0x08;
30013005

30023006
pub const SO_BINTIME: ::c_int = 0x2000;

0 commit comments

Comments
 (0)