Gregory Nutt
|
046e39e2c6
|
nuttx/mm and libc: Replace irqsave() with enter_critical_section(); replace irqrestore() with leave_critical_section()
|
2016-02-14 08:57:01 -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
|
5f2a181599
|
Add conditional definition for MIN macro needed in last commit
|
2015-07-05 09:08:45 -06:00 |
|
Gregory Nutt
|
fc5281e2a1
|
get/sethostname: Add a critical section. There is a microscopic possibily that the global name could change while being accessed by a thread
|
2015-07-05 08:50:51 -06:00 |
|
Gregory Nutt
|
e1c306f2dd
|
Add support for sethostname
|
2015-07-05 08:42:32 -06:00 |
|
Gregory Nutt
|
bd69415963
|
Fix a typo
|
2015-07-03 07:52:57 -06:00 |
|
Stavros Polymenis
|
701509f9bd
|
Add implementations of uname() and gethost(). From Stavros Polymenis.
|
2015-07-03 07:50:27 -06:00 |
|