summaryrefslogtreecommitdiffstats
path: root/kernel/locking/spinlock.c
AgeCommit message (Expand)Author
2017-01-12locking/spinlocks: Remove the unused spin_lock_bh_nested() APIWaiman Long
2015-01-03spinlock: Add spin_lock_bh_nested()Thomas Graf
2013-11-06locking: Move the spinlock code to kernel/locking/Peter Zijlstra
_7_6&id=f384c366d33cb435627743f7ea0ed3f966543d40'>treecommitdiffstats
path: root/auth.h
blob: 61b1f2c5c7220f80ac3ef85aa16e7f086ef219cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef AUTH_H
#define AUTH_H

void	do_authentication(void);
void	do_authentication2(void);

struct passwd *
auth_get_user(void);

int allowed_user(struct passwd * pw);

#define AUTH_FAIL_MAX 6
#define AUTH_FAIL_LOG (AUTH_FAIL_MAX/2)
#define AUTH_FAIL_MSG "Too many authentication failures for %.100s"

#endif