Gregory Nutt
|
0b12dbf95d
|
Fix some spacing problems
|
2015-10-04 15:04:00 -06:00 |
|
Gregory Nutt
|
ed004be6d0
|
Clean up some syscall logic that has changed due to revised netdb configuration
|
2015-07-10 15:41:20 -06:00 |
|
Gregory Nutt
|
f94fe747ae
|
Undo part of a previous change. Move get/sethostname back from net/netdb to libc/unistd
|
2015-07-08 11:11:52 -06:00 |
|
Gregory Nutt
|
d8d4ab8c10
|
The libc versions of get/sethostname should just call the internal net/netdb versions in the flat build. In the protected and kernel builds, sethostname is a system call but gethostname calls uname() to get the hostname
|
2015-07-05 10:45:00 -06:00 |
|
Gregory Nutt
|
6576672e09
|
uname: version string must hold 40 character value; strings returned by uname must always be NUL terminated
|
2015-07-05 06:46:00 -06:00 |
|
Gregory Nutt
|
10ec4737c2
|
Use strncpy instead of strcpy in uname()
|
2015-07-04 15:20:36 -06:00 |
|
Stavros Polymenis
|
701509f9bd
|
Add implementations of uname() and gethost(). From Stavros Polymenis.
|
2015-07-03 07:50:27 -06:00 |
|