Lines 15-21
Link Here
|
15 |
if (!is_selinux_enabled()) |
15 |
if (!is_selinux_enabled()) |
16 |
return; |
16 |
return; |
17 |
|
17 |
|
18 |
xfstat(fd, &stbuf, argv[0]); |
18 |
xfstat(fd, &stbuf, path); |
19 |
if (S_ISREG(stbuf.st_mode)) { |
19 |
if (S_ISREG(stbuf.st_mode)) { |
20 |
security_context_t newcon; |
20 |
security_context_t newcon; |
21 |
security_context_t oldcon = NULL; |
21 |
security_context_t oldcon = NULL; |