···4040 This enables security marking of network packets using4141 Smack labels.4242 If you are unsure how to answer this question, answer N.4343+4444+config SECURITY_SMACK_APPEND_SIGNALS4545+ bool "Treat delivering signals as an append operation"4646+ depends on SECURITY_SMACK4747+ default n4848+ help4949+ Sending a signal has been treated as a write operation to the5050+ receiving process. If this option is selected, the delivery5151+ will be an append operation instead. This makes it possible5252+ to differentiate between delivering a network packet and5353+ delivering a signal in the Smack rules.5454+ If you are unsure how to answer this question, answer N.
+10
security/smack/smack.h
···256256#define MAY_LOCK 0x00002000 /* Locks should be writes, but ... */257257#define MAY_BRINGUP 0x00004000 /* Report use of this rule */258258259259+/*260260+ * The policy for delivering signals is configurable.261261+ * It is usually "write", but can be "append".262262+ */263263+#ifdef CONFIG_SECURITY_SMACK_APPEND_SIGNALS264264+#define MAY_DELIVER MAY_APPEND /* Signal delivery requires append */265265+#else266266+#define MAY_DELIVER MAY_WRITE /* Signal delivery requires write */267267+#endif268268+259269#define SMACK_BRINGUP_ALLOW 1 /* Allow bringup mode */260270#define SMACK_UNCONFINED_SUBJECT 2 /* Allow unconfined label */261271#define SMACK_UNCONFINED_OBJECT 3 /* Allow unconfined label */