Age | Commit message (Collapse) | Author | Lines |
2024年08月31日 | sigaltstack: enforce dynamic MINSIGSTKSZ limit | Rich Felker | -1/+3 |
|
commit 996b6154b20184c3b08cce28eb01edb7f47e9413 added support for
querying the dynamic limit but did not enforce it in sigaltstack. the
kernel also does not seem to reliably enforce it, or at least does not
necessarily enforce the same limit exposed to userspace, so it needs
to be enforced here.
|
2019年07月13日 | fix sigaltstack to ignore ss_size with SS_DISABLE, per POSIX | James Y Knight | -1/+1 |
|
2019年03月05日 | don't reject unknown/future flags in sigaltstack, allow SS_AUTODISARM | Rich Felker | -1/+1 |
|
historically, and likely accidentally, sigaltstack was specified to
fail with EINVAL if any flag bit other than SS_DISABLE was set. the
resolution of Austin Group issue 1187 fixes this so that the
requirement is only to fail for SS_ONSTACK (which cannot be set) or
"invalid" flags.
Linux fails on the kernel side for invalid flags, but historically
accepts SS_ONSTACK as a no-op, so it needs to be rejected in userspace
still.
with this change, the Linux-specific SS_AUTODISARM, provided since
commit 9680e1d03a794b0e0d5815c749478228ed40a36d but unusable due to
rejection at runtime, is now usable.
|
2012年09月06日 | use restrict everywhere it's required by c99 and/or posix 2008 | Rich Felker | -1/+1 |
|
to deal with the fact that the public headers may be used with pre-c99
compilers, __restrict is used in place of restrict, and defined
appropriately for any supported compiler. we also avoid the form
[restrict] since older versions of gcc rejected it due to a bug in the
original c99 standard, and instead use the form *restrict.
|
2011年03月20日 | global cleanup to use the new syscall interface | Rich Felker | -1/+1 |
|
2011年03月10日 | make sigaltstack work (missing macros in signal.h, error conditions) | Rich Felker | -1/+11 |
|
2011年02月12日 | initial check-in, version 0.5.0 v0.5.0 | Rich Felker | -0/+8 |
|