238747 Commits

Author SHA1 Message Date
christos
b1528c6989 explain why the int cast works (suggested by kre) 2015-11-09 17:52:59 +00:00
christos
f095feefbc Return ENXIO if the get ioctl exceeds the number of configured devices.
XXX: pullup-7
2015-11-09 17:41:24 +00:00
christos
8f21cd691f Since now the kernel returns ENXIO again for devices exceeding the
number of devices configured in the kernel, use that instead of
scanning /dev.
XXX: pullup to 7 together with the kernel change.
2015-11-09 17:39:20 +00:00
christos
09d8214348 disable debugging 2015-11-09 16:54:26 +00:00
christos
646ed23fbb Simplify ioctl handling a little. 2015-11-09 16:52:09 +00:00
christos
ab2f8d0338 fix return type 2015-11-09 15:12:12 +00:00
martin
e79eea98a2 Adapt to libc minor bump 2015-11-09 11:57:00 +00:00
bouyer
c84eea00d4 Fix typo, pointed out by jmcneill@ (thanks !) 2015-11-09 10:10:39 +00:00
christos
8f3919dfd7 fix printf formats. 2015-11-09 02:13:41 +00:00
pgoyette
06e9554d11 Mark kern.posix.semcnt as READONLY - we don't want users changing the
internal value!
2015-11-09 01:55:03 +00:00
pgoyette
7c02a5abd6 Whether or not the semaphore code is loaded as a module or built-in, its
sysctl data belongs with the module code.  Move it from kern/init_sysctl.c
to kern/uipc_sem.c

While here, add a new sysctl variable kern.posix.semcnt (current count of
semaphores) to complement the existing kern.posix.semmax (maximum number
of semaphores).
2015-11-09 01:21:18 +00:00
dholland
5ca5bd7479 Don't use %m in format strings sent to printf. 2015-11-09 00:53:57 +00:00
joerg
5648ca2cf1 Attach serial number as property to all USB devices having one. 2015-11-08 23:25:17 +00:00
joerg
7eb0a13dae Translate requests for ucom into ttyU. 2015-11-08 23:23:30 +00:00
christos
d0b55fb388 Use the regular mountd, and include the rpcbind stuff here. 2015-11-08 21:05:39 +00:00
joerg
f20a795d91 Add the port number to the device properties to make it easier to relate
a specific ucom instance with the physical port of multi-port devices
like the FTDI 4232.
2015-11-08 21:05:01 +00:00
christos
2761cda93e Again copying code is bad; the second copy of mountd was completely stale. 2015-11-08 21:03:16 +00:00
joerg
8e87830d68 Add the parent device (if present) to the device properties, making it
easier to identify devices in the tree with drvctl(8).
2015-11-08 21:03:00 +00:00
christos
017f121465 Some of the puffs mount programs don't need RUMP, re-enable them. 2015-11-08 20:00:22 +00:00
christos
871846c79a Disable debugging. 2015-11-08 19:40:06 +00:00
christos
5c8014d159 Add more rpc tests. XXX: Need rpcbind running. 2015-11-08 19:38:04 +00:00
christos
2a964e6106 Add debugging for pollfd 2015-11-08 19:30:53 +00:00
christos
14b759e0d5 We've never supported executable stack notes in any archs so don't add one. 2015-11-08 17:13:01 +00:00
christos
b09d094867 We've never supported the executable stack note, and none of the other
archs have it.
2015-11-08 17:11:55 +00:00
christos
c6f31c2045 Untangle. 2015-11-08 16:49:41 +00:00
christos
c47f805a35 PR/50413: Vicente Chaves: Check the allocattr return and return an error. 2015-11-08 16:49:20 +00:00
christos
8ca6a9a5c9 Use the regular rpcbind source now. 2015-11-08 16:38:56 +00:00
christos
72e6585119 Don't use POLL again. 2015-11-08 16:38:25 +00:00
christos
4172446a74 Remove dup copy of rpcbind sources that had grown stale. 2015-11-08 16:37:57 +00:00
christos
1e8cf51077 merge RUMP changes. 2015-11-08 16:36:28 +00:00
christos
6821cf5fc4 Only do the compat cruft if we are compiling libc. 2015-11-08 02:46:53 +00:00
christos
eda86e9458 make this work with the new fdset stuff. 2015-11-08 02:45:16 +00:00
joerg
aae634b518 Soft-float support for rounding mode is currently not thread-safe, which
is not acceptable. Decision should be made on whether full fenv.h
support is desirable and then fix this appropiately.

Math functions (both libc and libm) should not touch errno, this creates
unnecessary problems for compilers.
2015-11-08 02:20:26 +00:00
christos
5851f02af6 Delete extra declaration of svc_fdset... And some commented out code.
This badly needs some modernization.
2015-11-08 01:59:31 +00:00
christos
3e50f3c769 LIBEXECINFO 2015-11-07 23:53:28 +00:00
joerg
0bc53a588b LIBEXECINFO 2015-11-07 23:41:58 +00:00
christos
245e5bc63c initialize revents too. 2015-11-07 23:17:09 +00:00
christos
70a08afc24 Mention TI-RPC changes. 2015-11-07 23:16:00 +00:00
christos
58d11ee7bb provide a poll(2) based interface. 2015-11-07 23:10:37 +00:00
christos
df8f5914dc PR/50408: Pedro Giffuni: Provide a way for rpc to use poll(2) instead of
select(2), and the linux svc_pollfd and svc_maxpollfd members. Our select(2)
implementation does not suffer from the FD_SETSIZE limitation so this is
not turned on by default.
2015-11-07 23:09:20 +00:00
martin
607d1d4aed Convert siginfo to 32bit version before copying it out to 32bit userland. 2015-11-07 21:07:18 +00:00
szptvlfn
93ba639ed2 change MKDEPFLAGS from
-msse2 -mssse3 -mssse3 -fvisibility=hidden
to
  -msse2 -msse3 -mssse3 -fvisibility=hidden

OK dholland@ at tech-x11@
2015-11-07 20:45:03 +00:00
christos
7c3ee3b303 spell reserved. 2015-11-07 20:24:00 +00:00
wiz
fdf5365713 less-481 is out. 2015-11-07 20:17:49 +00:00
wiz
dec41c2e36 Use Dv for NULL. 2015-11-07 18:47:26 +00:00
wiz
c9e587d5a6 Sort SEE ALSO. 2015-11-07 18:46:37 +00:00
joerg
a08385b414 Explain what "-V none" does. 2015-11-07 18:26:55 +00:00
nros
f30e83597e Fix typo in erfl synopsis. 2015-11-07 18:17:51 +00:00
joerg
3f2a71f305 paths.h is not used. 2015-11-07 18:11:21 +00:00
nros
2e84975f5e Fix code style errors pointed out by christos during the review of the
aligned_alloc test that also applies to the posix_memalign test.
Fix code style errors that I forgot to fix in the aligned_alloc test.
2015-11-07 17:35:31 +00:00