forked fromtorvalds/linux
- Notifications
You must be signed in to change notification settings - Fork0
Commit344fa64
committed
security: Add a hook for the point of notification insertion
Add a security hook that allows an LSM to rule on whether a notificationmessage is allowed to be inserted into a particular watch queue.The hook is given the following information: (1) The credentials of the triggerer (which may be init_cred for a system notification, eg. a hardware error). (2) The credentials of the whoever set the watch. (3) The notification message.Signed-off-by: David Howells <dhowells@redhat.com>Acked-by: James Morris <jamorris@linux.microsoft.com>cc: Casey Schaufler <casey@schaufler-ca.com>cc: Stephen Smalley <sds@tycho.nsa.gov>cc: linux-security-module@vger.kernel.org1 parent0858caa commit344fa64
File tree
4 files changed
+38
-0
lines changed- include/linux
- security
4 files changed
+38
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
253 | 253 | | |
254 | 254 | | |
255 | 255 | | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
256 | 261 | | |
257 | 262 | | |
258 | 263 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1437 | 1437 | | |
1438 | 1438 | | |
1439 | 1439 | | |
| 1440 | + | |
| 1441 | + | |
| 1442 | + | |
| 1443 | + | |
| 1444 | + | |
| 1445 | + | |
| 1446 | + | |
| 1447 | + | |
| 1448 | + | |
1440 | 1449 | | |
1441 | 1450 | | |
1442 | 1451 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| 59 | + | |
| 60 | + | |
59 | 61 | | |
60 | 62 | | |
61 | 63 | | |
| |||
1275 | 1277 | | |
1276 | 1278 | | |
1277 | 1279 | | |
| 1280 | + | |
| 1281 | + | |
| 1282 | + | |
| 1283 | + | |
| 1284 | + | |
| 1285 | + | |
| 1286 | + | |
| 1287 | + | |
| 1288 | + | |
| 1289 | + | |
| 1290 | + | |
| 1291 | + | |
| 1292 | + | |
1278 | 1293 | | |
1279 | 1294 | | |
1280 | 1295 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2007 | 2007 | | |
2008 | 2008 | | |
2009 | 2009 | | |
| 2010 | + | |
| 2011 | + | |
| 2012 | + | |
| 2013 | + | |
| 2014 | + | |
| 2015 | + | |
| 2016 | + | |
| 2017 | + | |
| 2018 | + | |
2010 | 2019 | | |
2011 | 2020 | | |
2012 | 2021 | | |
| |||
0 commit comments
Comments
(0)