git: Add a kenv(2) system call for better handling of the kernel environment.

Sascha Wildner swildner at crater.dragonflybsd.org
Sat Mar 19 14:43:30 PDT 2016


commit 3087e737136fc558b5ef9d40ef70b4a251dfd453
Author: Sascha Wildner <saw at online.de>
Date:   Sat Mar 19 21:49:39 2016 +0100

    Add a kenv(2) system call for better handling of the kernel environment.

Summary of changes:
 include/Makefile                                 |   2 +-
 lib/i18n_module/ZW/citrus_zw.h => include/kenv.h |  18 ++-
 lib/libc/sys/Makefile.inc                        |   3 +-
 lib/libc/sys/Symbol.map                          |   6 +
 lib/libc/sys/kenv.2                              | 179 +++++++++++++++++++++++
 sys/kern/init_sysent.c                           |   2 +-
 sys/kern/kern_environment.c                      | 117 ++++++++++++++-
 sys/kern/syscalls.c                              |   2 +-
 sys/kern/syscalls.master                         |   2 +-
 lib/libutil/stub.c => sys/sys/kenv.h             |  26 ++--
 sys/sys/syscall.h                                |   1 +
 sys/sys/syscall.mk                               |   1 +
 sys/sys/sysproto.h                               |  10 ++
 sys/sys/sysunion.h                               |   1 +
 14 files changed, 339 insertions(+), 31 deletions(-)
 copy lib/i18n_module/ZW/citrus_zw.h => include/kenv.h (82%)
 create mode 100644 lib/libc/sys/kenv.2
 copy lib/libutil/stub.c => sys/sys/kenv.h (74%)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/3087e737136fc558b5ef9d40ef70b4a251dfd453


-- 
DragonFly BSD source repository



More information about the Commits mailing list