openbsd: SIGSTKSZ has been reduced
This commit is contained in:
parent
c202081a51
commit
04aa1bb572
@ -177,7 +177,6 @@ pub const SIGSEGV : ::c_int = 11;
|
||||
pub const SIGPIPE : ::c_int = 13;
|
||||
pub const SIGALRM : ::c_int = 14;
|
||||
pub const SIGTERM : ::c_int = 15;
|
||||
pub const SIGSTKSZ : ::size_t = 40960;
|
||||
|
||||
pub const PROT_NONE : ::c_int = 0;
|
||||
pub const PROT_READ : ::c_int = 1;
|
||||
|
@ -947,6 +947,8 @@ pub const CHWFLOW: ::tcflag_t = ::MDMBUF | ::CRTSCTS | ::CDTRCTS;
|
||||
pub const SOCK_CLOEXEC: ::c_int = 0x10000000;
|
||||
pub const SOCK_NONBLOCK: ::c_int = 0x20000000;
|
||||
|
||||
pub const SIGSTKSZ : ::size_t = 40960;
|
||||
|
||||
// dirfd() is a macro on netbsd to access
|
||||
// the first field of the struct where dirp points to:
|
||||
// http://cvsweb.netbsd.org/bsdweb.cgi/src/include/dirent.h?rev=1.36
|
||||
|
@ -83,6 +83,8 @@ pub const IFF_LINK1: ::c_int = 0x2000; // per link layer defined bit
|
||||
pub const IFF_LINK2: ::c_int = 0x4000; // per link layer defined bit
|
||||
pub const IFF_MULTICAST: ::c_int = 0x8000; // supports multicast
|
||||
|
||||
pub const SIGSTKSZ : ::size_t = 40960;
|
||||
|
||||
extern {
|
||||
pub fn nl_langinfo_l(item: ::nl_item, locale: ::locale_t) -> *mut ::c_char;
|
||||
pub fn duplocale(base: ::locale_t) -> ::locale_t;
|
||||
|
@ -47,6 +47,8 @@ pub const IFF_LINK1: ::c_int = 0x2000; // per link layer defined bit
|
||||
pub const IFF_LINK2: ::c_int = 0x4000; // per link layer defined bit
|
||||
pub const IFF_MULTICAST: ::c_int = 0x8000; // supports multicast
|
||||
|
||||
pub const SIGSTKSZ : ::size_t = 24576;
|
||||
|
||||
extern {
|
||||
pub fn accept4(s: ::c_int, addr: *mut ::sockaddr,
|
||||
addrlen: *mut ::socklen_t, flags: ::c_int) -> ::c_int;
|
||||
|
Loading…
Reference in New Issue
Block a user