Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 350604
Collapse All | Expand All

(-)a/util-linux/mkswap.c (-1 / +1 lines)
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;

Return to bug 350604