Re: [PATCH v2 03/10] seccomp.2: Document why each header is needed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 5/25/21 7:34 AM, Alejandro Colomar (man-pages) wrote:
> Hi Michael,
> 
> On 5/24/21 8:19 PM, Alejandro Colomar wrote:
>> Signed-off-by: Alejandro Colomar <alx.manpages@xxxxxxxxx>
>> Cc: Kees Cook <keescook@xxxxxxxxxxxx>
>> Cc: Tyler Hicks <tyhicks@xxxxxxxxxxxxx>
>> Cc: Will Drewry <wad@xxxxxxxxxxxx>
>> Cc: Michael Kerrisk <mtk.manpages@xxxxxxxxx>
>> ---
> 
> Please discards this one, for the same reasons as in v1: repeated.
> See 
> <https://lore.kernel.org/linux-man/20210515182254.186607-1-alx.manpages@xxxxxxxxx/T/#u> 
> instead.
> 
> That one has a better mail.

Dropped.

Thanks,

Michael

>>   man2/seccomp.2 | 10 +++++-----
>>   1 file changed, 5 insertions(+), 5 deletions(-)
>>
>> diff --git a/man2/seccomp.2 b/man2/seccomp.2
>> index 584a16f22..1be7d6766 100644
>> --- a/man2/seccomp.2
>> +++ b/man2/seccomp.2
>> @@ -30,11 +30,11 @@
>>   seccomp \- operate on Secure Computing state of the process
>>   .SH SYNOPSIS
>>   .nf
>> -.B #include <linux/seccomp.h>
>> -.B #include <linux/filter.h>
>> -.B #include <linux/audit.h>
>> -.B #include <linux/signal.h>
>> -.B #include <sys/ptrace.h>
>> +.BR "#include <linux/seccomp.h>" "  /* Definition of " SECCOMP_* " constants */"
>> +.BR "#include <linux/filter.h>" "   /* Definition of " "struct sock_fprog" " */"
>> +.BR "#include <linux/audit.h>" "    /* Definition of " AUDIT_* " constants */"
>> +.BR "#include <linux/signal.h>" "   /* Definition of " SIG* " constants */"
>> +.BR "#include <sys/ptrace.h>" "     /* Definition of " PTRACE_* " constants */"
>>   .\" Kees Cook noted: Anything that uses SECCOMP_RET_TRACE returns will
>>   .\"                  need <sys/ptrace.h>
>>   .PP
>>
> 
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/



[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux