74de835e2c
- Use libsepol.so.2 - Convert matchpathcon to selabel_lookup() - Change userspace AVC setenforce and policy load messages to audit format - Remove trailing slash on selabel_file lookups - Use kernel status page by default
39 lines
1.3 KiB
Diff
39 lines
1.3 KiB
Diff
From 21fb5f20da225cff23fd811f57cdaec5e9d7badb Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Christian=20G=C3=B6ttsche?= <cgzones@googlemail.com>
|
|
Date: Thu, 20 Aug 2020 17:15:51 +0200
|
|
Subject: [PATCH] libselinux: use full argument specifiers for
|
|
security_check_context in man page
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
The argument for security_check_context(_raw) is defined as `const char *`.
|
|
|
|
Say so in the man page.
|
|
|
|
Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
|
|
Acked-by: Stephen Smalley <stephen.smalley.work@gmail.com>
|
|
---
|
|
libselinux/man/man3/security_check_context.3 | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/libselinux/man/man3/security_check_context.3 b/libselinux/man/man3/security_check_context.3
|
|
index 2b9a2d4c8b6a..213ac282588f 100644
|
|
--- a/libselinux/man/man3/security_check_context.3
|
|
+++ b/libselinux/man/man3/security_check_context.3
|
|
@@ -5,9 +5,9 @@ security_check_context \- check the validity of a SELinux context
|
|
.SH "SYNOPSIS"
|
|
.B #include <selinux/selinux.h>
|
|
.sp
|
|
-.BI "int security_check_context(char *" con );
|
|
+.BI "int security_check_context(const char *" con );
|
|
.sp
|
|
-.BI "int security_check_context_raw(char *" con );
|
|
+.BI "int security_check_context_raw(const char *" con );
|
|
.
|
|
.SH "DESCRIPTION"
|
|
.BR security_check_context ()
|
|
--
|
|
2.29.0
|
|
|