Commit Graph

9118 Commits

Author SHA1 Message Date
elad
0b783346d2 PR/41332: Jason V. Miller: paxctl(8) leaks file descriptors
Always close(fd) before returning.

Thanks for the report!
2009-05-02 06:01:30 +00:00
pooka
45ef580f17 Merge librumpfs_ufs into librumpfs_ffs. This reflects what happened
with the ffs kernel module and follows the trend of retiring ufs.
It also allows to get rid of a special case kludge in runtime module
loading, since ufs was not really a module.  librumpfs_ufs is now
obsoleted and ffs consumers should be linked solely against
librumpfs_ffs.
2009-05-02 01:15:52 +00:00
agc
b79fe05de0 Get rid of files which aren't used 2009-05-01 23:40:32 +00:00
nakayama
c7386761f6 WARNS=4 fixes. 2009-04-30 16:10:10 +00:00
nakayama
4ff5774174 WARNS=4 fixes. 2009-04-30 07:45:28 +00:00
nakayama
1d09b9bbae More WARNS=4 fixes, for sparc and sun3. 2009-04-29 09:13:58 +00:00
joerg
70e3d67b70 Create images with 0666 - umask, not 0777 - umask (e.g. without x bits). 2009-04-28 22:49:26 +00:00
nonaka
50010e742d Fix WARNS=4 issues. 2009-04-28 10:57:24 +00:00
lukem
103ca7bc06 Fix issue I introduced in WARNS=4 -- addition of extra argument to default argv.
Found & fixed by Geoff Wing.
2009-04-28 08:32:56 +00:00
mlelstv
094ee5306f don't discard const qualifiers 2009-04-26 19:56:20 +00:00
mlelstv
4c90ae5cf0 don't discard const qualifiers 2009-04-26 19:24:18 +00:00
lukem
e92226ab69 Fix WARNS=4 issues (-Wcast-qual -Wsign-compare)
Fixes PR bin/41283
2009-04-26 04:54:27 +00:00
lukem
7a4c7e7ffc Fix WARNS=4 issues (-Wextra -Wcast-qual).
Resolves PR bin/41282
2009-04-26 01:51:07 +00:00
lukem
a3417b09b0 WARNS=1 for pf 2009-04-23 05:25:06 +00:00
lukem
74f7394a13 Allow WARNS=4 after Christos' fix sys/cdefs.h 2009-04-23 01:37:55 +00:00
lukem
6c17577005 Fix -Wsign-compare issue 2009-04-23 01:36:56 +00:00
christos
33c521093c WARNS=4 2009-04-22 18:10:38 +00:00
lukem
d877c4c3c0 Enable WARNS=4 by default, except for:
cpuctl  dumplfs  hprop  ipf  iprop-log  kadmin  kcm  kdc  kdigest
	kimpersonate  kstash  ktutil  makefs  ndbootd  ntp  pppd  quot
	racoon  racoonctl  rtadvd  sntp  sup  tcpdchk  tcpdmatch  tcpdump
	traceroute  traceroute6  user  veriexecgen  wsmoused  zic
(Mostly third-party applications)
2009-04-22 15:23:01 +00:00
joerg
e7f29a3386 Split fsck during boot into two phases. Check the root file system
first, mount root and run the various disk providers. Add swap and
check the remaining file systems after that.
This breaks the dependency cycle for lvm, which needs writeable /dev.
Depend on rndctl in cgd.
2009-04-21 16:08:57 +00:00
drochner
0fa7059102 define YY_NO_INPUT where appropriate, from Kurt J. Lidl per PR misc/41160 2009-04-20 16:05:29 +00:00
mschuett
0d53a16d76 Add queue macros SLIST_FOREACH_SAFE, STAILQ_FOREACH_SAFE, STAILQ_LAST,
SIMPLEQ_CONCAT, and SIMPLEQ_LAST.

Remove seperate definitions outside of queue.h.
2009-04-20 09:56:07 +00:00
ad
4d8f47ae2f cpuctl:
- Add interrupt shielding (direct hardware interrupts away from the
  specified CPUs). Not documented just yet but will be soon.

- Redo /dev/cpu time_t compat so no kernel changes are needed.

x86:

- Make intr_establish, intr_disestablish safe to use when !cold.

- Distribute hardware interrupts among the CPUs, instead of directing
  everything to the boot CPU.

- Add MD code for interrupt sheilding. This works in most cases but there is
  a bug where delivery is not accepted by an LAPIC after redistribution. It
  also needs re-balancing to make things fair after interrupts are turned
  back on for a CPU.
2009-04-19 14:11:36 +00:00
lukem
193dbe5711 fix -Wshadow 2009-04-19 08:53:37 +00:00
lukem
9a5b6d41c6 fix -Wshadow 2009-04-19 08:40:48 +00:00
lukem
0350114585 Fix WARNS=4 issues (-Wshadow -Wsign-compare) 2009-04-19 07:54:08 +00:00
lukem
96bb91fe3c Fix WARNS=4 issues (-Wextra -Wshadow) 2009-04-19 07:49:07 +00:00
lukem
6bc6e73b91 Fix -Wsign-compare issues 2009-04-19 06:09:42 +00:00
lukem
d3d3aa621a Fix WARNS=4 issues (-Wshadow -Wcast-qual -Wsign-compare) 2009-04-19 06:06:39 +00:00
lukem
9797780352 Fix -Wsign-compare issue 2009-04-19 04:01:06 +00:00
lukem
c7dd380491 Fix -Wsign-compare issues 2009-04-19 02:25:48 +00:00
lukem
228475234f Fix WARNS=4 issues (-Wextra -Wsign-compare) 2009-04-19 01:53:17 +00:00
lukem
6363aba79d Fix WARNS=4 (-Wcast-qual -Wextra) 2009-04-19 01:52:09 +00:00
lukem
975b87b4f5 Fix -Wcast-qual and -Wshadow issues 2009-04-19 00:56:32 +00:00
lukem
802fa86c68 Fix -Wcast-qual issue 2009-04-19 00:44:49 +00:00
lukem
dfb301f79f Fix WARNS=4 issues (-Wshadow -Wcast-qual) 2009-04-19 00:26:18 +00:00
lukem
1638ad2757 Fix WARNS=4 issues (-Wextra -Wsign-compare) 2009-04-18 14:06:58 +00:00
lukem
e4e2f3f32e Fix -Wextra issue 2009-04-18 14:02:42 +00:00
lukem
899b971d2c Fix -Wsign-compare issue 2009-04-18 14:01:37 +00:00
lukem
6c07b7244e Fix -Wshadow 2009-04-18 13:57:44 +00:00
lukem
ca5cba9384 remove unnecessary comments 2009-04-18 13:55:11 +00:00
lukem
c2fdfea89a Fix -Wcast-qual and -Wsign-compare issues 2009-04-18 13:53:59 +00:00
lukem
46a41907e1 Fix WARNS=4 issues (-Wcast-qual -Wsign-compare).
XXX: could improve parsing of -v option and store "cutoff" as a uint64_t.
2009-04-18 13:37:04 +00:00
lukem
e3823f584e Fix -Wsign-compare issue 2009-04-18 13:05:54 +00:00
lukem
0466bbb6dd Fix -Wshadow and -Wcast-qual issues 2009-04-18 13:02:36 +00:00
christos
2eded15942 delete old bind 2009-04-18 13:01:19 +00:00
lukem
46c55ef395 Fix -Wshadow and -Wcast-qual issues 2009-04-18 12:57:10 +00:00
lukem
54f1cbbf7a Fix -Wshadow issue 2009-04-18 09:25:50 +00:00
lukem
aad74fbea3 Fix -Wcast-qual issues 2009-04-18 09:20:40 +00:00
lukem
178a598d18 Fix WARNS=4 issues (-Wsign-compare -Wcast-qual) 2009-04-18 09:18:17 +00:00
lukem
09ae632551 Fix WARNS=4 issues (-Wshadow -Wsign-compare -Wextra) 2009-04-18 08:50:23 +00:00