Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\audit.c Create Date:2022-07-28 11:23:48
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:audit_get_tty

Proto:struct tty_struct *audit_get_tty(void)

Type:struct tty_struct

Parameter:Nothing

2108  struct tty_struct * tty = NULL
2111  spin_lock_irqsave( & siglock, flags)
2112  If signal Then tty = y_kref_get - get a tty reference*@tty: tty device* Return a new reference to a tty object. The caller must hold* sufficient locks/counts to ensure that their existing reference cannot* go away
2114  spin_unlock_irqrestore( & siglock, flags)
2115  Return tty
Caller
NameDescribe
audit_log_task_info
audit_log_set_loginuid