Skip to content

Commit cde9e8a

Browse files
Gelbpunkttgross35
authored andcommitted
musl: s390x: Fix definition of SIGSTKSZ/MINSIGSTKSZ
These have had the values 10240 and 4096 respectively since the introduction of the s390x port in musl back in 2016. Signed-off-by: Jens Reidel <adrian@travitia.xyz>
1 parent 3d372c6 commit cde9e8a

File tree

1 file changed

+2
-2
lines changed
  • src/unix/linux_like/linux/musl/b64

1 file changed

+2
-2
lines changed

src/unix/linux_like/linux/musl/b64/s390x.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,8 @@ pub const SA_NOCLDWAIT: c_int = 2;
161161
pub const SA_ONSTACK: c_int = 0x08000000;
162162
pub const SA_SIGINFO: c_int = 4;
163163
pub const SIGBUS: c_int = 7;
164-
pub const SIGSTKSZ: size_t = 0x2000;
165-
pub const MINSIGSTKSZ: size_t = 2048;
164+
pub const SIGSTKSZ: size_t = 10240;
165+
pub const MINSIGSTKSZ: size_t = 4096;
166166
pub const SIG_SETMASK: c_int = 2;
167167

168168
pub const O_NOCTTY: c_int = 256;

0 commit comments

Comments
 (0)