linux - kernelaudit.c:995:26: error: too few arguments to function call, single argument 'tty' was not specified

admin2025-04-19  0

This is a kernel compile error. It's a cross-compile, and i've included linux/tty.h. I didnt have to because audit.h does so, and both the error still persists. The kernel code looks the same as the other ones so i doubt the error is in the code, but maybe it requires another header or something.

This is the error:

../kernel/audit.c:995:26: error: too few arguments to function call, single
      argument 'tty' was not specified
                                err = tty_audit_push();
                                      ~~~~~~~~~~~~~~ ^
../include/linux/tty.h:621:1: note: 'tty_audit_push' declared here
extern void tty_audit_push(struct tty_struct *tty);
转载请注明原文地址:http://conceptsofalgorithm.com/Algorithm/1745058171a282531.html

最新回复(0)