summaryrefslogtreecommitdiff
path: root/sys/compat/linux/common/linux_exec.h
diff options
context:
space:
mode:
authorchs <chs@NetBSD.org>2013-11-18 01:32:22 +0000
committerchs <chs@NetBSD.org>2013-11-18 01:32:22 +0000
commit927d6872aabaafeb754bb0360251758984eb0fe3 (patch)
treed855109801b1ab56b4018858581c1b8b999f9bc6 /sys/compat/linux/common/linux_exec.h
parent479f3e002c345bcdcc62c50adc20076d203d713a (diff)
implement AT_RANDOM.
Diffstat (limited to 'sys/compat/linux/common/linux_exec.h')
-rw-r--r--sys/compat/linux/common/linux_exec.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/compat/linux/common/linux_exec.h b/sys/compat/linux/common/linux_exec.h
index 75570e5ef26..c542f5d746d 100644
--- a/sys/compat/linux/common/linux_exec.h
+++ b/sys/compat/linux/common/linux_exec.h
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_exec.h,v 1.48 2010/07/07 01:30:35 chs Exp $ */
+/* $NetBSD: linux_exec.h,v 1.49 2013/11/18 01:32:22 chs Exp $ */
/*-
* Copyright (c) 1995, 1998 The NetBSD Foundation, Inc.
@@ -82,7 +82,7 @@
#define LINUX_N_BSSADDR(x,m) (LINUX_N_DATADDR(x,m) + (x).a_data)
#ifndef LINUX_MACHDEP_ELF_COPYARGS
-#define LINUX_ELF_AUX_ENTRIES 13 /* we push 13 parameters */
+#define LINUX_ELF_AUX_ENTRIES 14
#endif
/*
@@ -96,6 +96,7 @@
#define LINUX_AT_HWCAP 16 /* arch dependent CPU capabilities */
#define LINUX_AT_CLKTCK 17 /* frequency times() increments */
#define LINUX_AT_SECURE 23 /* secure mode boolean */
+#define LINUX_AT_RANDOM 25 /* address of 16 random bytes */
#define LINUX_AT_SYSINFO 32 /* pointer to __kernel_vsyscall */
#define LINUX_AT_SYSINFO_EHDR 33 /* pointer to ELF header */