mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 12:43:29 +02:00
Merge tag 'audit-pr-20230626' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/audit
Pull audit update from Paul Moore: "A single audit patch that resolves two compiler warnings regarding missing function prototypes" * tag 'audit-pr-20230626' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/audit: audit: avoid missing-prototype warnings
This commit is contained in:
@@ -130,8 +130,6 @@ extern unsigned compat_dir_class[];
|
|||||||
extern unsigned compat_chattr_class[];
|
extern unsigned compat_chattr_class[];
|
||||||
extern unsigned compat_signal_class[];
|
extern unsigned compat_signal_class[];
|
||||||
|
|
||||||
extern int audit_classify_compat_syscall(int abi, unsigned syscall);
|
|
||||||
|
|
||||||
/* audit_names->type values */
|
/* audit_names->type values */
|
||||||
#define AUDIT_TYPE_UNKNOWN 0 /* we don't know yet */
|
#define AUDIT_TYPE_UNKNOWN 0 /* we don't know yet */
|
||||||
#define AUDIT_TYPE_NORMAL 1 /* a "normal" audit record */
|
#define AUDIT_TYPE_NORMAL 1 /* a "normal" audit record */
|
||||||
|
@@ -21,4 +21,6 @@ enum auditsc_class_t {
|
|||||||
AUDITSC_NVALS /* count */
|
AUDITSC_NVALS /* count */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
extern int audit_classify_compat_syscall(int abi, unsigned syscall);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@@ -259,8 +259,8 @@ extern struct tty_struct *audit_get_tty(void);
|
|||||||
extern void audit_put_tty(struct tty_struct *tty);
|
extern void audit_put_tty(struct tty_struct *tty);
|
||||||
|
|
||||||
/* audit watch/mark/tree functions */
|
/* audit watch/mark/tree functions */
|
||||||
#ifdef CONFIG_AUDITSYSCALL
|
|
||||||
extern unsigned int audit_serial(void);
|
extern unsigned int audit_serial(void);
|
||||||
|
#ifdef CONFIG_AUDITSYSCALL
|
||||||
extern int auditsc_get_stamp(struct audit_context *ctx,
|
extern int auditsc_get_stamp(struct audit_context *ctx,
|
||||||
struct timespec64 *t, unsigned int *serial);
|
struct timespec64 *t, unsigned int *serial);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user