Skip to content

Commit e92ec48

Browse files
author
Dave Huseby
committed
SIGSTKSZ is the same on OpenBSD, Bitrig, and NetBSD
1 parent 37c866a commit e92ec48

File tree

4 files changed

+1
-6
lines changed

4 files changed

+1
-6
lines changed

src/unix/bsd/openbsdlike/bitrig.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,8 +202,6 @@ pub const _SC_RTSIG_MAX : ::c_int = 66;
202202
pub const _SC_SIGQUEUE_MAX : ::c_int = 70;
203203
pub const _SC_TIMER_MAX : ::c_int = 93;
204204

205-
pub const SIGSTKSZ: ::size_t = 131072;
206-
207205
pub const FD_SETSIZE: usize = 1024;
208206

209207
pub const ST_NOSUID: ::c_ulong = 2;

src/unix/bsd/openbsdlike/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ pub const SIGSEGV : ::c_int = 11;
123123
pub const SIGPIPE : ::c_int = 13;
124124
pub const SIGALRM : ::c_int = 14;
125125
pub const SIGTERM : ::c_int = 15;
126+
pub const SIGSTKSZ : ::size_t = 40960;
126127

127128
pub const PROT_NONE : ::c_int = 0;
128129
pub const PROT_READ : ::c_int = 1;

src/unix/bsd/openbsdlike/netbsd.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -269,8 +269,6 @@ pub const _SC_SHARED_MEMORY_OBJECTS : ::c_int = 87;
269269
pub const _SC_SYNCHRONIZED_IO : ::c_int = 31;
270270
pub const _SC_TIMERS : ::c_int = 44;
271271

272-
pub const SIGSTKSZ: ::size_t = 0xa000;
273-
274272
pub const FD_SETSIZE: usize = 0x100;
275273

276274
pub const ST_NOSUID: ::c_ulong = 8;

src/unix/bsd/openbsdlike/openbsd.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,8 +205,6 @@ pub const _SC_RTSIG_MAX : ::c_int = 66;
205205
pub const _SC_SIGQUEUE_MAX : ::c_int = 70;
206206
pub const _SC_TIMER_MAX : ::c_int = 93;
207207

208-
pub const SIGSTKSZ: ::size_t = 40960;
209-
210208
pub const FD_SETSIZE: usize = 1024;
211209

212210
pub const ST_NOSUID: ::c_ulong = 2;

0 commit comments

Comments
 (0)