Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/platform.c |
Switch to Source code | Preprocessed file |
Line | Source | Count | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | - | |||||||||||||
2 | - | |||||||||||||
3 | - | |||||||||||||
4 | - | |||||||||||||
5 | - | |||||||||||||
6 | extern int use_privsep; | - | ||||||||||||
7 | extern ServerOptions options; | - | ||||||||||||
8 | - | |||||||||||||
9 | void | - | ||||||||||||
10 | platform_pre_listen(void) | - | ||||||||||||
11 | { | - | ||||||||||||
12 | - | |||||||||||||
13 | - | |||||||||||||
14 | oom_adjust_setup(); | - | ||||||||||||
15 | - | |||||||||||||
16 | } never executed: end of block | 0 | ||||||||||||
17 | - | |||||||||||||
18 | void | - | ||||||||||||
19 | platform_pre_fork(void) | - | ||||||||||||
20 | { | - | ||||||||||||
21 | - | |||||||||||||
22 | - | |||||||||||||
23 | - | |||||||||||||
24 | } | - | ||||||||||||
25 | - | |||||||||||||
26 | void | - | ||||||||||||
27 | platform_pre_restart(void) | - | ||||||||||||
28 | { | - | ||||||||||||
29 | - | |||||||||||||
30 | oom_adjust_restore(); | - | ||||||||||||
31 | - | |||||||||||||
32 | } never executed: end of block | 0 | ||||||||||||
33 | - | |||||||||||||
34 | void | - | ||||||||||||
35 | platform_post_fork_parent(pid_t child_pid) | - | ||||||||||||
36 | { | - | ||||||||||||
37 | - | |||||||||||||
38 | - | |||||||||||||
39 | - | |||||||||||||
40 | } | - | ||||||||||||
41 | - | |||||||||||||
42 | void | - | ||||||||||||
43 | platform_post_fork_child(void) | - | ||||||||||||
44 | { | - | ||||||||||||
45 | - | |||||||||||||
46 | - | |||||||||||||
47 | - | |||||||||||||
48 | - | |||||||||||||
49 | oom_adjust_restore(); | - | ||||||||||||
50 | - | |||||||||||||
51 | } never executed: end of block | 0 | ||||||||||||
52 | - | |||||||||||||
53 | - | |||||||||||||
54 | int | - | ||||||||||||
55 | platform_privileged_uidswap(void) | - | ||||||||||||
56 | { | - | ||||||||||||
57 | - | |||||||||||||
58 | - | |||||||||||||
59 | - | |||||||||||||
60 | - | |||||||||||||
61 | return never executed: (getuid() == 0return (getuid() == 0 || geteuid() == 0);
never executed: return (getuid() == 0 || geteuid() == 0); | 0 | ||||||||||||
62 | - | |||||||||||||
63 | } | - | ||||||||||||
64 | - | |||||||||||||
65 | - | |||||||||||||
66 | - | |||||||||||||
67 | - | |||||||||||||
68 | - | |||||||||||||
69 | void | - | ||||||||||||
70 | platform_setusercontext(struct passwd *pw) | - | ||||||||||||
71 | { | - | ||||||||||||
72 | } | - | ||||||||||||
73 | - | |||||||||||||
74 | - | |||||||||||||
75 | - | |||||||||||||
76 | - | |||||||||||||
77 | - | |||||||||||||
78 | void | - | ||||||||||||
79 | platform_setusercontext_post_groups(struct passwd *pw) | - | ||||||||||||
80 | { | - | ||||||||||||
81 | } | - | ||||||||||||
82 | - | |||||||||||||
83 | char * | - | ||||||||||||
84 | platform_krb5_get_principal_name(const char *pw_name) | - | ||||||||||||
85 | { | - | ||||||||||||
86 | - | |||||||||||||
87 | - | |||||||||||||
88 | - | |||||||||||||
89 | return never executed: return ((void *)0) ; never executed: return ((void *)0) ; | 0 | ||||||||||||
90 | ((void *)0) never executed: return ((void *)0) ; | 0 | ||||||||||||
91 | ; never executed: return ((void *)0) ; | 0 | ||||||||||||
92 | - | |||||||||||||
93 | } | - | ||||||||||||
Switch to Source code | Preprocessed file |