Searched hist:d9bf2c26 (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/security/apparmor/include/ |
H A D | policy_ns.h | d9bf2c26 Fri May 26 18:27:58 CDT 2017 John Johansen <john.johansen@canonical.com> apparmor: add policy revision file interface
Add a policy revision file to find the current revision of a ns's policy. There is a revision file per ns, as well as a virtualized global revision file in the base apparmor fs directory. The global revision file when opened will provide the revision of the opening task namespace.
The revision file can be waited on via select/poll to detect apparmor policy changes from the last read revision of the opened file. This means that the revision file must be read after the select/poll other wise update data will remain ready for reading.
Signed-off-by: John Johansen <john.johansen@canonical.com> d9bf2c26 Fri May 26 18:27:58 CDT 2017 John Johansen <john.johansen@canonical.com> apparmor: add policy revision file interface Add a policy revision file to find the current revision of a ns's policy. There is a revision file per ns, as well as a virtualized global revision file in the base apparmor fs directory. The global revision file when opened will provide the revision of the opening task namespace. The revision file can be waited on via select/poll to detect apparmor policy changes from the last read revision of the opened file. This means that the revision file must be read after the select/poll other wise update data will remain ready for reading. Signed-off-by: John Johansen <john.johansen@canonical.com>
|
H A D | apparmorfs.h | d9bf2c26 Fri May 26 18:27:58 CDT 2017 John Johansen <john.johansen@canonical.com> apparmor: add policy revision file interface
Add a policy revision file to find the current revision of a ns's policy. There is a revision file per ns, as well as a virtualized global revision file in the base apparmor fs directory. The global revision file when opened will provide the revision of the opening task namespace.
The revision file can be waited on via select/poll to detect apparmor policy changes from the last read revision of the opened file. This means that the revision file must be read after the select/poll other wise update data will remain ready for reading.
Signed-off-by: John Johansen <john.johansen@canonical.com> d9bf2c26 Fri May 26 18:27:58 CDT 2017 John Johansen <john.johansen@canonical.com> apparmor: add policy revision file interface Add a policy revision file to find the current revision of a ns's policy. There is a revision file per ns, as well as a virtualized global revision file in the base apparmor fs directory. The global revision file when opened will provide the revision of the opening task namespace. The revision file can be waited on via select/poll to detect apparmor policy changes from the last read revision of the opened file. This means that the revision file must be read after the select/poll other wise update data will remain ready for reading. Signed-off-by: John Johansen <john.johansen@canonical.com>
|
/openbmc/linux/security/apparmor/ |
H A D | policy_ns.c | d9bf2c26 Fri May 26 18:27:58 CDT 2017 John Johansen <john.johansen@canonical.com> apparmor: add policy revision file interface
Add a policy revision file to find the current revision of a ns's policy. There is a revision file per ns, as well as a virtualized global revision file in the base apparmor fs directory. The global revision file when opened will provide the revision of the opening task namespace.
The revision file can be waited on via select/poll to detect apparmor policy changes from the last read revision of the opened file. This means that the revision file must be read after the select/poll other wise update data will remain ready for reading.
Signed-off-by: John Johansen <john.johansen@canonical.com> d9bf2c26 Fri May 26 18:27:58 CDT 2017 John Johansen <john.johansen@canonical.com> apparmor: add policy revision file interface Add a policy revision file to find the current revision of a ns's policy. There is a revision file per ns, as well as a virtualized global revision file in the base apparmor fs directory. The global revision file when opened will provide the revision of the opening task namespace. The revision file can be waited on via select/poll to detect apparmor policy changes from the last read revision of the opened file. This means that the revision file must be read after the select/poll other wise update data will remain ready for reading. Signed-off-by: John Johansen <john.johansen@canonical.com>
|
H A D | apparmorfs.c | d9bf2c26 Fri May 26 18:27:58 CDT 2017 John Johansen <john.johansen@canonical.com> apparmor: add policy revision file interface
Add a policy revision file to find the current revision of a ns's policy. There is a revision file per ns, as well as a virtualized global revision file in the base apparmor fs directory. The global revision file when opened will provide the revision of the opening task namespace.
The revision file can be waited on via select/poll to detect apparmor policy changes from the last read revision of the opened file. This means that the revision file must be read after the select/poll other wise update data will remain ready for reading.
Signed-off-by: John Johansen <john.johansen@canonical.com> d9bf2c26 Fri May 26 18:27:58 CDT 2017 John Johansen <john.johansen@canonical.com> apparmor: add policy revision file interface Add a policy revision file to find the current revision of a ns's policy. There is a revision file per ns, as well as a virtualized global revision file in the base apparmor fs directory. The global revision file when opened will provide the revision of the opening task namespace. The revision file can be waited on via select/poll to detect apparmor policy changes from the last read revision of the opened file. This means that the revision file must be read after the select/poll other wise update data will remain ready for reading. Signed-off-by: John Johansen <john.johansen@canonical.com>
|