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

(-)growisofs.c.old (-2 / +2 lines)
Lines 615-621 Link Here
615
#ifndef _LINUX_WAIT_H
615
#ifndef _LINUX_WAIT_H
616
#define _LINUX_WAIT_H	/* linux headers are impaired */
616
#define _LINUX_WAIT_H	/* linux headers are impaired */
617
#endif
617
#endif
618
#include <linux/capability.h>
618
#include <sys/capability.h>
619
619
620
#if 0
620
#if 0
621
#include <linux/raw.h>
621
#include <linux/raw.h>
Lines 842-848 Link Here
842
842
843
#if defined(PR_SET_KEEPCAPS)
843
#if defined(PR_SET_KEEPCAPS)
844
	    if (getuid()!= 0 && prctl(PR_SET_KEEPCAPS,1) == 0) do {
844
	    if (getuid()!= 0 && prctl(PR_SET_KEEPCAPS,1) == 0) do {
845
#if defined(_LINUX_CAPABILITY_VERSION) && defined(CAP_SYS_RAWIO) && defined(SYS_capset)
845
#if defined(_SYS_CAPABILITY_H) && defined(CAP_SYS_RAWIO) && defined(SYS_capset)
846
		struct __user_cap_header_struct	h;
846
		struct __user_cap_header_struct	h;
847
		struct __user_cap_data_struct	d;
847
		struct __user_cap_data_struct	d;
848
848

Return to bug 263402