| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
| 2 | /* Syslog internals |
| 3 | * |
| 4 | * Copyright 2010 Canonical, Ltd. |
| 5 | * Author: Kees Cook <[email protected]> |
| 6 | */ |
| 7 | |
| 8 | |
| 9 | |
| 10 | |
| 11 | |
| 12 | |
| 13 | /* Close the log. Currently a NOP. */ |
| 14 | |
| 15 | /* Open the log. Currently a NOP. */ |
| 16 | |
| 17 | /* Read from the log. */ |
| 18 | |
| 19 | /* Read all messages remaining in the ring buffer. */ |
| 20 | |
| 21 | /* Read and clear all messages remaining in the ring buffer */ |
| 22 | |
| 23 | /* Clear ring buffer. */ |
| 24 | |
| 25 | /* Disable printk's to console */ |
| 26 | |
| 27 | /* Enable printk's to console */ |
| 28 | |
| 29 | /* Set level of messages printed to console */ |
| 30 | |
| 31 | /* Return number of unread characters in the log buffer */ |
| 32 | |
| 33 | /* Return size of the log buffer */ |
| 34 | |
| 35 | |
| 36 | |
| 37 | |
| 38 | |
| 39 | int ; |
| 40 | extern wait_queue_head_t log_wait; |
| 41 | |
| 42 | /* _LINUX_SYSLOG_H */ |