source:
npl/system/klibc/patches/mips-update-archfcntl-h.patch
@
ca72aba
Last change on this file since ca72aba was c5c522c, checked in by , 8 years ago | |
---|---|
|
|
File size: 1.5 KB |
-
usr/include/arch/mips/klibc/archfcntl.h
From: Ben Hutchings <ben@decadent.org.uk> Date: Sun, 05 Oct 2014 01:08:21 +0100 Subject: [klibc] MIPS: Update archfcntl.h Bug-Debian: https://bugs.debian.org/763049 Forwarded: http://www.zytor.com/pipermail/klibc/2016-January/003879.html Update usr/include/arch/mips/archfcntl.h from kernel headers: - Add definitions of O_PATH, O_TMPFILE - Update value of O_SYNC to include __O_SYNC - Add definitions of F_{SET,GET}OWN_EX, F_GETOWNER_UIDS, F_OFD_{GETLK,SETLK,SETLKW}, F_OWNER_{TID,PID,PGRP} Signed-off-by: Ben Hutchings <ben@decadent.org.uk> ---
a b 19 19 #define O_WRONLY 0x0001 20 20 #define O_RDWR 0x0002 21 21 #define O_APPEND 0x0008 22 #define O_SYNC 0x001023 22 #define O_NONBLOCK 0x0080 24 23 #define O_CREAT 0x0100 25 24 #define O_TRUNC 0x0200 … … 27 26 #define O_NOCTTY 0x0800 28 27 #define FASYNC 0x1000 29 28 #define O_LARGEFILE 0x2000 29 #define O_SYNC 0x4010 30 30 #define O_DIRECT 0x8000 31 31 #define O_DIRECTORY 0x10000 32 32 #define O_NOFOLLOW 0x20000 33 33 #define O_NOATIME 0x40000 34 34 #define O_CLOEXEC 0x80000 35 #define O_PATH 0x200000 36 #define O_TMPFILE 0x410000 35 37 36 38 #define O_NDELAY O_NONBLOCK 37 39 … … 53 55 #define F_SETLK64 34 54 56 #define F_SETLKW64 35 55 57 58 #define F_SETOWN_EX 15 59 #define F_GETOWN_EX 16 60 61 #define F_GETOWNER_UIDS 17 62 63 #define F_OFD_GETLK 36 64 #define F_OFD_SETLK 37 65 #define F_OFD_SETLKW 38 66 67 #define F_OWNER_TID 0 68 #define F_OWNER_PID 1 69 #define F_OWNER_PGRP 2 70 71 struct f_owner_ex { 72 int type; 73 pid_t pid; 74 }; 75 56 76 #define FD_CLOEXEC 1 57 77 58 78 #define F_RDLCK 0
Note: See TracBrowser
for help on using the repository browser.