nuttx/libs/libc/unistd
Xiang Xiao 3cff139b85 libc: Make gethostname as syscall instead of uname
simplify and symmetry the implementation in KERNEL/PROTECTED build

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: Iefdeea5f6ef6348c774b2ca9f7e45fe89c0c22dd
2020-07-30 10:33:08 +09:00
..
Kconfig Introduce CONFIG_DEFAULT_TASK_STACKSIZE 2020-03-26 22:30:13 -05:00
lib_access.c This commit moves all of the libraries under a common directory called libs/. This most certainly break libcxx and uClibc++ for now. 2018-05-29 13:21:26 -06:00
lib_alarm.c libs/libc/unistd/lib_alarm.c,sched/timer/timer_getitimer.c: Silence a 2020-02-19 18:02:25 -06:00
lib_chdir.c CONFIG_NFILE_DESCRIPTORS=0 can no longer be used to disable the file system. NuttX with no file system does not make sense. 2019-02-11 12:09:26 -06:00
lib_daemon.c Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
lib_execl.c libc: Replace all malloc/free to lib_malloc/lib_free 2020-07-29 10:14:27 +01:00
lib_fstatvfs.c fs/vfs: Implement statvfs and fstatvfs 2020-07-13 20:25:03 +01:00
lib_getcwd.c libs/libc/unistd/lib_getcwd.c: remove stray sched_unlock(). Also fixes several typos. 2019-09-20 06:23:48 -06:00
lib_getegid.c libc/libc/unistd/: Add stubs for geteuid(), getegid(), seteuid(), and setegid(). NuttX does not currently support effective user/group IDs, but these stubs will support linkage of appliations that expect these POSIX standard interfaces. 2019-09-03 10:57:51 -06:00
lib_geteuid.c libc/libc/unistd/: Add stubs for geteuid(), getegid(), seteuid(), and setegid(). NuttX does not currently support effective user/group IDs, but these stubs will support linkage of appliations that expect these POSIX standard interfaces. 2019-09-03 10:57:51 -06:00
lib_getgid.c libc/libc/unistd/: Add stubs for geteuid(), getegid(), seteuid(), and setegid(). NuttX does not currently support effective user/group IDs, but these stubs will support linkage of appliations that expect these POSIX standard interfaces. 2019-09-03 10:57:51 -06:00
lib_gethostname.c libc: Make gethostname as syscall instead of uname 2020-07-30 10:33:08 +09:00
lib_getopt.c syscall: Fix typo error in cvs and header file 2020-05-07 10:31:05 -06:00
lib_getoptargp.c This commit moves all of the libraries under a common directory called libs/. This most certainly break libcxx and uClibc++ for now. 2018-05-29 13:21:26 -06:00
lib_getoptindp.c This commit moves all of the libraries under a common directory called libs/. This most certainly break libcxx and uClibc++ for now. 2018-05-29 13:21:26 -06:00
lib_getoptoptp.c This commit moves all of the libraries under a common directory called libs/. This most certainly break libcxx and uClibc++ for now. 2018-05-29 13:21:26 -06:00
lib_getrusage.c libs/libc/unistd/lib_getrusage.c: Add a dummy getrusage() implementation. 2019-11-17 08:48:05 -06:00
lib_getuid.c sched/group and syscall/: Implement 'real' setuid, getuid, setgid, and getgid interfaces. These will be inheritance by all child task groups. 2019-08-06 14:13:43 -06:00
lib_pathconf.c libc: Implement pathconf and fpathconf 2020-06-23 17:34:54 +01:00
lib_pipe.c Rename pipe2/mkfifo2 to nx_pipe/nx_mkfifo 2020-05-04 07:20:02 -06:00
lib_setegid.c libc/libc/unistd/: Add stubs for geteuid(), getegid(), seteuid(), and setegid(). NuttX does not currently support effective user/group IDs, but these stubs will support linkage of appliations that expect these POSIX standard interfaces. 2019-09-03 10:57:51 -06:00
lib_seteuid.c libc/libc/unistd/: Add stubs for geteuid(), getegid(), seteuid(), and setegid(). NuttX does not currently support effective user/group IDs, but these stubs will support linkage of appliations that expect these POSIX standard interfaces. 2019-09-03 10:57:51 -06:00
lib_setgid.c sched/group/group_setuid.c and group_setguid.c: Verify that the UID/GID is within range. 2019-08-10 10:42:53 -06:00
lib_sethostname.c Fix nxstyle issue 2020-05-01 10:43:47 -03:00
lib_setregid.c Remove exra whitespace from files (#189) 2020-01-31 09:24:49 -06:00
lib_setreuid.c Remove exra whitespace from files (#189) 2020-01-31 09:24:49 -06:00
lib_setuid.c libs/libc/unistd: Stubs for setuid and setgid. Added stubbed implementations of setuid and setgid. These functions are essentially stubs pretending that NuttX supported users and groups and that the only configured user and group in the system were both 'root' with a uid and a gid of 0, respectively. The intent is not to provide meaningful new features, but to ease porting of foreign source code to NuttX. 2019-08-06 07:17:23 -06:00
lib_sleep.c This commit moves all of the libraries under a common directory called libs/. This most certainly break libcxx and uClibc++ for now. 2018-05-29 13:21:26 -06:00
lib_statvfs.c fs/vfs: Implement statvfs and fstatvfs 2020-07-13 20:25:03 +01:00
lib_swab.c This commit moves all of the libraries under a common directory called libs/. This most certainly break libcxx and uClibc++ for now. 2018-05-29 13:21:26 -06:00
lib_sysconf.c libc: sysconf support _SC_NPROCESSORS_CONF/_SC_NPROCESSORS_ONLN 2020-06-27 22:43:13 +01:00
lib_truncate.c This commit moves all of the libraries under a common directory called libs/. This most certainly break libcxx and uClibc++ for now. 2018-05-29 13:21:26 -06:00
lib_usleep.c This commit moves all of the libraries under a common directory called libs/. This most certainly break libcxx and uClibc++ for now. 2018-05-29 13:21:26 -06:00
Make.defs fs/vfs: Implement statvfs and fstatvfs 2020-07-13 20:25:03 +01:00