Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 789336 | Differences between
and this patch

Collapse All | Expand All

(-)file-5.40.orig/src/seccomp.c (+9 lines)
Lines 40-45 FILE_RCSID("@(#)$File: seccomp.c,v 1.19 Link Here
40
#include <stdlib.h>
40
#include <stdlib.h>
41
#include <errno.h>
41
#include <errno.h>
42
42
43
#ifndef __GLIBC__
44
#pragma push_macro("fstatat64")
45
#undef fstatat64
46
#endif
47
43
#define DENY_RULE(call) \
48
#define DENY_RULE(call) \
44
    do \
49
    do \
45
	if (seccomp_rule_add (ctx, SCMP_ACT_KILL, SCMP_SYS(call), 0) == -1) \
50
	if (seccomp_rule_add (ctx, SCMP_ACT_KILL, SCMP_SYS(call), 0) == -1) \
Lines 286-288 out: Link Here
286
	return -1;
291
	return -1;
287
}
292
}
288
#endif
293
#endif
294
295
#ifndef __GLIBC__
296
#pragma pop_macro("fstatat64")
297
#endif

Return to bug 789336