* [PATCH] capabilities: add description for CAP_SETFCAP
@ 2020-04-14 15:49 Stefan Hajnoczi
2020-04-28 8:58 ` Stefan Hajnoczi
0 siblings, 1 reply; 3+ messages in thread
From: Stefan Hajnoczi @ 2020-04-14 15:49 UTC (permalink / raw)
To: linux-security-module; +Cc: Serge Hallyn, linux-kernel, Stefan Hajnoczi
Document the purpose of CAP_SETFCAP. For some reason this capability
had no description while the others did.
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
---
include/uapi/linux/capability.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/uapi/linux/capability.h b/include/uapi/linux/capability.h
index 272dc69fa080..7288f0ad44af 100644
--- a/include/uapi/linux/capability.h
+++ b/include/uapi/linux/capability.h
@@ -332,6 +332,8 @@ struct vfs_ns_cap_data {
#define CAP_AUDIT_CONTROL 30
+/* Set or remove capabilities on files */
+
#define CAP_SETFCAP 31
/* Override MAC access.
--
2.25.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] capabilities: add description for CAP_SETFCAP
2020-04-14 15:49 [PATCH] capabilities: add description for CAP_SETFCAP Stefan Hajnoczi
@ 2020-04-28 8:58 ` Stefan Hajnoczi
2020-05-01 3:51 ` James Morris
0 siblings, 1 reply; 3+ messages in thread
From: Stefan Hajnoczi @ 2020-04-28 8:58 UTC (permalink / raw)
To: linux-security-module; +Cc: Serge Hallyn, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 778 bytes --]
On Tue, Apr 14, 2020 at 04:49:45PM +0100, Stefan Hajnoczi wrote:
> Document the purpose of CAP_SETFCAP. For some reason this capability
> had no description while the others did.
>
> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
> ---
> include/uapi/linux/capability.h | 2 ++
> 1 file changed, 2 insertions(+)
Ping?
> diff --git a/include/uapi/linux/capability.h b/include/uapi/linux/capability.h
> index 272dc69fa080..7288f0ad44af 100644
> --- a/include/uapi/linux/capability.h
> +++ b/include/uapi/linux/capability.h
> @@ -332,6 +332,8 @@ struct vfs_ns_cap_data {
>
> #define CAP_AUDIT_CONTROL 30
>
> +/* Set or remove capabilities on files */
> +
> #define CAP_SETFCAP 31
>
> /* Override MAC access.
> --
> 2.25.1
>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] capabilities: add description for CAP_SETFCAP
2020-04-28 8:58 ` Stefan Hajnoczi
@ 2020-05-01 3:51 ` James Morris
0 siblings, 0 replies; 3+ messages in thread
From: James Morris @ 2020-05-01 3:51 UTC (permalink / raw)
To: Stefan Hajnoczi; +Cc: linux-security-module, Serge Hallyn, linux-kernel
On Tue, 28 Apr 2020, Stefan Hajnoczi wrote:
> On Tue, Apr 14, 2020 at 04:49:45PM +0100, Stefan Hajnoczi wrote:
> > Document the purpose of CAP_SETFCAP. For some reason this capability
> > had no description while the others did.
> >
> > Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
> > ---
> > include/uapi/linux/capability.h | 2 ++
> > 1 file changed, 2 insertions(+)
>
> Ping?
Please resend and I'll add it to my tree.
>
> > diff --git a/include/uapi/linux/capability.h b/include/uapi/linux/capability.h
> > index 272dc69fa080..7288f0ad44af 100644
> > --- a/include/uapi/linux/capability.h
> > +++ b/include/uapi/linux/capability.h
> > @@ -332,6 +332,8 @@ struct vfs_ns_cap_data {
> >
> > #define CAP_AUDIT_CONTROL 30
> >
> > +/* Set or remove capabilities on files */
> > +
> > #define CAP_SETFCAP 31
> >
> > /* Override MAC access.
> > --
> > 2.25.1
> >
>
--
James Morris
<jmorris@namei.org>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-05-01 3:51 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-14 15:49 [PATCH] capabilities: add description for CAP_SETFCAP Stefan Hajnoczi
2020-04-28 8:58 ` Stefan Hajnoczi
2020-05-01 3:51 ` James Morris
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).