[apparmor] [patch] apparmor.d.pod: add details about append and creating files

Christian Boltz apparmor at cboltz.de
Sun Jan 10 17:19:56 UTC 2016


Hello,

$subject.

I hope my description is correct. If not, please give me a better text ;-)


I propose this patch for trunk, 2.10 and 2.9.


[ apparmor.d.pod-explain-append.diff ]

=== modified file ./parser/apparmor.d.pod
--- parser/apparmor.d.pod       2016-01-07 20:41:32.738787547 +0100
+++ parser/apparmor.d.pod       2016-01-10 18:00:49.985190030 +0100
@@ -403,7 +407,10 @@
 Append mode will prevent an application from opening the file for write unless
 it passes the O_APPEND parameter flag on open.
 
-The mode conflicts with Write mode.
+Append mode also allows to create a file using creat() or open() with the
+O_APPEND flag. However, you'll need 'w' when using open() with O_RW | O_CREATE.
+
+This mode conflicts with Write mode.
 
 =item B<ux - Unconfined execute mode>
 


Regards,

Christian Boltz
-- 
> > Ooooch, nu sei doch nicht gleich gnidderig. :-)
> Bin ich doch gar nicht :-)))
Dann ist ja gut. (Bratpfanne unauffällig fallenlass und mit dem Fuß
wegstubs...)       [> Christian Boltz und Ratti in fontlinge-devel]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20160110/02d981e3/attachment.pgp>


More information about the AppArmor mailing list