diff options
author | Robert Mustacchi <rm@fingolfin.org> | 2020-05-03 04:19:27 +0000 |
---|---|---|
committer | Robert Mustacchi <rm@fingolfin.org> | 2020-05-12 05:31:08 +0000 |
commit | 4c46c814833d7980b7ebf54590a97d7f91472bd5 (patch) | |
tree | a96dbab7e61b3334972c1598202a49b5884a2262 /usr/src/lib/libc/port/gen/sysconf.c | |
parent | 0c06d385ea5bbe11d20ecea2e02cdc78733d5359 (diff) | |
download | illumos-gate-4c46c814833d7980b7ebf54590a97d7f91472bd5.tar.gz |
12691 Want means of getting the maximum user address in a process
Reviewed by: Yuri Pankov <ypankov@fastmail.com>
Reviewed by: Dan McDonald <danmcd@joyent.com>
Reviewed by: Patrick Mooney <pmooney@pfmooney.com>
Approved by: Gordon Ross <gordon.w.ross@gmail.com>
Diffstat (limited to 'usr/src/lib/libc/port/gen/sysconf.c')
-rw-r--r-- | usr/src/lib/libc/port/gen/sysconf.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usr/src/lib/libc/port/gen/sysconf.c b/usr/src/lib/libc/port/gen/sysconf.c index 8e852ce1c8..904b848027 100644 --- a/usr/src/lib/libc/port/gen/sysconf.c +++ b/usr/src/lib/libc/port/gen/sysconf.c @@ -27,7 +27,7 @@ */ /* Copyright (c) 1988 AT&T */ -/* All Rights Reserved */ +/* All Rights Reserved */ /* sysconf(3C) - returns system configuration information */ @@ -464,6 +464,9 @@ sysconf(int name) case _SC_EPHID_MAX: return (_sysconfig(_CONFIG_EPHID_MAX)); + case _SC_UADDR_MAX: + return (_sysconfig(_CONFIG_UADDR_MAX)); + /* UNIX 03 names - XPG6/SUSv3/POSIX.1-2001 */ case _SC_REGEXP: |