History

LSM: fix documentation for the syslog hook

The syslog hook was changed in the commit "capabilities/syslog: open code cap_syslog logic to fix build failure" (12b3052c3ee8). The argument @from_file was removed from the hook. This patch updates the documentation for the syslog hook accordingly.

Denis Efremov committed 7 years ago

Commit 5f4b9751 parent 733e4461 file · +1 −2Browse files

Showing the changes to include/linux (1 of 1 file). Show all

Unified · Split

include/linux/lsm_hooks.h+1−2
@@ -1291,8 +1291,7 @@ · 1290 unmodified lines
1291 * Check permission before accessing the kernel message ring or changing1291 * Check permission before accessing the kernel message ring or changing
1292 * logging to the console.1292 * logging to the console.
1293 * See the syslog(2) manual page for an explanation of the @type values.1293 * See the syslog(2) manual page for an explanation of the @type values.
1294 * @type contains the type of action.1294 * @type contains the SYSLOG_ACTION_* constant from <include/linux/syslog.h>
1295 * @from_file indicates the context of action (if it came from /proc).
1296 * Return 0 if permission is granted.1295 * Return 0 if permission is granted.
1297 * @settime:1296 * @settime:
1298 * Check permission to change the system time.1297 * Check permission to change the system time.

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t