* [PATCH 1/2] hppa: Define O_PATH.
@ 2012-04-27 23:35 Matt Turner
2012-04-27 23:35 ` [PATCH 2/2] hppa: Update bits/mman.h Matt Turner
0 siblings, 1 reply; 2+ messages in thread
From: Matt Turner @ 2012-04-27 23:35 UTC (permalink / raw)
To: Carlos; +Cc: libc-ports, Matt Turner
04-27-2012 Matt Turner <mattst88@gmail.com>
* sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (O_PATH): Define.
---
sysdeps/unix/sysv/linux/hppa/bits/fcntl.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/sysdeps/unix/sysv/linux/hppa/bits/fcntl.h b/sysdeps/unix/sysv/linux/hppa/bits/fcntl.h
index c0e949e..55a66e5 100644
--- a/sysdeps/unix/sysv/linux/hppa/bits/fcntl.h
+++ b/sysdeps/unix/sysv/linux/hppa/bits/fcntl.h
@@ -1,6 +1,5 @@
/* O_*, F_*, FD_* bit values for Linux.
- Copyright (C) 1995-1999, 2000, 2002, 2004, 2010, 2011
- Free Software Foundation, Inc.
+ Copyright (C) 1995-2012 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -53,6 +52,7 @@
#ifdef __USE_GNU
# define O_DIRECT 040000 /* Direct disk access. */
# define O_NOATIME 004000000 /* Do not set atime. */
+# define O_PATH 020000000 /* Resolve pathname but do not open file. */
#endif
/* For now Linux has synchronisity options for data and read operations.
--
1.7.3.4
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH 2/2] hppa: Update bits/mman.h.
2012-04-27 23:35 [PATCH 1/2] hppa: Define O_PATH Matt Turner
@ 2012-04-27 23:35 ` Matt Turner
0 siblings, 0 replies; 2+ messages in thread
From: Matt Turner @ 2012-04-27 23:35 UTC (permalink / raw)
To: Carlos; +Cc: libc-ports, Matt Turner
2012-04-27 Matt Turner <mattst88@gmail.com>
* sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
(MAP_HUGETLB): Likewise.
---
sysdeps/unix/sysv/linux/hppa/bits/mman.h | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/sysdeps/unix/sysv/linux/hppa/bits/mman.h b/sysdeps/unix/sysv/linux/hppa/bits/mman.h
index e269a44..28d4cde 100644
--- a/sysdeps/unix/sysv/linux/hppa/bits/mman.h
+++ b/sysdeps/unix/sysv/linux/hppa/bits/mman.h
@@ -1,5 +1,5 @@
/* Definitions for POSIX memory map interface. Linux/HPPA version.
- Copyright (C) 1997, 1998, 2000, 2003 Free Software Foundation, Inc.
+ Copyright (C) 1997-2012 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -55,6 +55,8 @@
# define MAP_GROWSDOWN 0x8000 /* Stack-like segment */
# define MAP_POPULATE 0x10000 /* Populate (prefault) pagetables */
# define MAP_NONBLOCK 0x20000 /* Do not block on IO */
+# define MAP_STACK 0x40000 /* Allocation is for a stack. */
+# define MAP_HUGETLB 0x80000 /* Create huge page mapping. */
#endif
/* Flags to "msync" */
--
1.7.3.4
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-04-27 23:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-27 23:35 [PATCH 1/2] hppa: Define O_PATH Matt Turner
2012-04-27 23:35 ` [PATCH 2/2] hppa: Update bits/mman.h Matt Turner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).