Skip to content

man/man2const/PR_SET_PTRACER.2const: Document EINVAL

Cesar Eduardo Barros linux-man 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1man/man2const/PR_SET_PTRACER.2const: Document EINVAL when Yama is not configuredman/man2const/PR_SET_PTRACER.2const+3 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH v1 0/1] man/man2const/PR_SET_PTRACER.2const: Document EINVAL

The man page for PR_SET_PTRACER mentions three cases in which prctl(PR_SET_PTRACER, ...) can fail with EINVAL, but there's a fourth
case: when CONFIG_SECURITY_YAMA=n

The code which deals with the three currently documented cases is at security/yama/yama_lsm.c which is only compiled when "Yama support" is configured. When it isn't, it falls through to the default case at kernel/sys.c which returns EINVAL.

Cesar Eduardo Barros (1):
man/man2const/PR_SET_PTRACER.2const: Document EINVAL when Yama is not
configured

 man/man2const/PR_SET_PTRACER.2const | 3 +++
 1 file changed, 3 insertions(+)

Range-diff em relação a v0:
-: ------------ > 1: cfc899195f8d man/man2const/PR_SET_PTRACER.2const: Document EINVAL when Yama is not configured

Signature · 1 line
2.56.1