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.
Showing the changes to include/linux (1 of 1 file). Show all
Unified · Split
| @@ -1291,8 +1291,7 @@ · 1290 unmodified lines | |||
| 1291 | * Check permission before accessing the kernel message ring or changing | 1291 | * 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. |