Lines Matching refs:current
115 uid_t auid = audit_get_loginuid(current); in tty_audit_buf_push_current()
116 unsigned int sessionid = audit_get_sessionid(current); in tty_audit_buf_push_current()
117 tty_audit_buf_push(current, auid, sessionid, buf); in tty_audit_buf_push_current()
130 spin_lock_irq(¤t->sighand->siglock); in tty_audit_exit()
131 buf = current->signal->tty_audit_buf; in tty_audit_exit()
132 current->signal->tty_audit_buf = NULL; in tty_audit_exit()
133 spin_unlock_irq(¤t->sighand->siglock); in tty_audit_exit()
151 spin_lock_irq(¤t->sighand->siglock); in tty_audit_fork()
152 sig->audit_tty = current->signal->audit_tty; in tty_audit_fork()
153 spin_unlock_irq(¤t->sighand->siglock); in tty_audit_fork()
164 spin_lock_irq(¤t->sighand->siglock); in tty_audit_tiocsti()
165 should_audit = current->signal->audit_tty; in tty_audit_tiocsti()
166 buf = current->signal->tty_audit_buf; in tty_audit_tiocsti()
169 spin_unlock_irq(¤t->sighand->siglock); in tty_audit_tiocsti()
185 auid = audit_get_loginuid(current); in tty_audit_tiocsti()
186 sessionid = audit_get_sessionid(current); in tty_audit_tiocsti()
187 tty_audit_log("ioctl=TIOCSTI", current, auid, sessionid, major, in tty_audit_tiocsti()
245 spin_lock_irq(¤t->sighand->siglock); in tty_audit_buf_get()
246 if (likely(!current->signal->audit_tty)) in tty_audit_buf_get()
248 buf = current->signal->tty_audit_buf; in tty_audit_buf_get()
253 spin_unlock_irq(¤t->sighand->siglock); in tty_audit_buf_get()
263 spin_lock_irq(¤t->sighand->siglock); in tty_audit_buf_get()
264 if (!current->signal->audit_tty) in tty_audit_buf_get()
266 buf = current->signal->tty_audit_buf; in tty_audit_buf_get()
268 current->signal->tty_audit_buf = buf2; in tty_audit_buf_get()
275 spin_unlock_irq(¤t->sighand->siglock); in tty_audit_buf_get()
339 spin_lock_irq(¤t->sighand->siglock); in tty_audit_push()
340 if (likely(!current->signal->audit_tty)) { in tty_audit_push()
341 spin_unlock_irq(¤t->sighand->siglock); in tty_audit_push()
344 buf = current->signal->tty_audit_buf; in tty_audit_push()
347 spin_unlock_irq(¤t->sighand->siglock); in tty_audit_push()