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

Collapse All | Expand All

(-)src/exec/libdx/plock.c (-1 / +1 lines)
Lines 37-43 Link Here
37
37
38
#define SEM_FLAGS  	 (IPC_CREAT | S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH)
38
#define SEM_FLAGS  	 (IPC_CREAT | S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH)
39
#define SHM_FLAGS  	 (IPC_CREAT | S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH)
39
#define SHM_FLAGS  	 (IPC_CREAT | S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH)
40
#define OPEN_FLAGS 	 (O_CREAT | S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH)
40
#define OPEN_FLAGS 	 (O_CREAT, S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH)
41
#define IS_MINE(a)	 (locks->_owner[a] == getpid())
41
#define IS_MINE(a)	 (locks->_owner[a] == getpid())
42
#define SET_OWNER(a)	 (locks->_owner[a] = getpid())
42
#define SET_OWNER(a)	 (locks->_owner[a] = getpid())
43
#define CLEAR_OWNER(a)	 (locks->_owner[a] = 0)
43
#define CLEAR_OWNER(a)	 (locks->_owner[a] = 0)

Return to bug 261438