Commit Graph

210953 Commits

Author SHA1 Message Date
dholland
d66ac51d84 Mark these obsolete as well. 2012-05-05 21:24:19 +00:00
dholland
cf2f172048 Bump date for previous. 2012-05-05 21:18:43 +00:00
dholland
1d1104dd8c rest of previous.
BQS: 1. dholland: 0.
2012-05-05 21:16:16 +00:00
dholland
aa368b88e1 Describe these as obsolete. 2012-05-05 21:14:55 +00:00
christos
57ca898c48 remove ancient crap 2012-05-05 21:03:02 +00:00
dholland
f88a50da82 typo in comment 2012-05-05 20:48:51 +00:00
rmind
c6170bf370 Describe PG_ flags (for struct vm_page). Reviewed by yamt@. 2012-05-05 20:45:35 +00:00
christos
5cebef3f28 regen 2012-05-05 19:49:13 +00:00
christos
8692f82623 use sy_call() so that l->l_sysent gets set, so that we can autoload modules
that define new syscalls properly.
2012-05-05 19:44:02 +00:00
christos
fae991ec2f Add a new type of syscall "EXTERN" which is meant for modules that live
outside the tree (in pkgsrc). Use it to define afssys (210) which has
been reserved for years, and make it autoload the "openafs" module.
2012-05-05 19:37:37 +00:00
rmind
269014127a G/C POOL_DIAGNOSTIC option. No objection on tech-kern@. 2012-05-05 19:15:10 +00:00
christos
a898920ce2 Add tgamma{,f} from FreeBSD via rudolf, netbsd at eq dot cz 2012-05-05 17:54:13 +00:00
christos
9f6de85630 add tgamma{,f} 2012-05-05 17:52:27 +00:00
tsutsui
56ed3d51fc Don't use "#if defined(__i386__) || defined(__x86_64__)" conditionals
in C source file to define option features.
Define proper options in each Makefile per ${MACHINE_ARCH} variable instead.

Previously if a host is x86 and it has /usr/mdec/mbr file in its system,
tools fdisk implicitly installs it as mbr bootcode even for !x86 targets.
2012-05-05 16:03:55 +00:00
christos
a4deae0de5 fix typo, WARNS=5 2012-05-05 15:57:45 +00:00
jym
07829955b6 Add latest CR4 bits:
- CR4_VMXE: VMX operations, used for hardware virtualization.
- CR4_SMXE: SMX operations, used for safer Mode Extensions (ground for
            Intel's TXT - Trusted Execution Technology - platform).
- CR4_FSGSBASE: enable *FSBASE and *GSBASE instructions, for R/W access
                to FS/GS segment base addresses.
- CR4_PCIDE: enable Process Context IDentifiers (other architectures may call
             these "address space identifiers").
- CR4_OSXSAVE: enable xsave and xrestore instructions
- CR4_SMEP: Supervisor Mode Execution Prevention. Allows enforcing --x rights
            from cpl 0.

From Intel® 64 and IA-32 Architectures Software Developer’s Manual,
March 2012.

Align declarations.

CPUID_* bits for these features follow.
2012-05-05 15:08:29 +00:00
christos
2cb8b46c96 avoid using cpp variadic macros and explain why. 2012-05-05 15:04:57 +00:00
macallan
648feb69e9 make sure opt_sunkbd.h exists 2012-05-05 13:47:07 +00:00
yamt
9b10dd1106 comments and cosmetics. no functional changes. 2012-05-05 04:08:53 +00:00
jnemeth
a8f4028e66 Update all variable days
- religious holidays taken from Wikipedia where available
- floating days (i.e. X day of Y month) taken from cal(1)
- NetBSD releases taken from http://www.netbsd.org/releases/formal.html#history
  - hopefully somebody will update this for the 6.0 release

Hopefully, these days will be correct for the first year of NetBSD 6.0.
2012-05-05 01:29:56 +00:00
wiz
66c3a8d39a The new apropos(1) incorrectly displays hyphens in the first line
of the search results for a few man pages (for man(7) based man
pages).

Use patch from Abhinav Upadhyay in PR 46408 to fix this.
2012-05-04 23:50:26 +00:00
christos
4af0aec9a5 comment out debugging printfs 2012-05-04 17:57:22 +00:00
joerg
1ffe43311f Do not depend on failing malloc to set errno 2012-05-04 16:45:05 +00:00
joerg
615642201d Drop obsolete pthread restriction. 2012-05-04 12:28:03 +00:00
joerg
8050d45d71 Simplify check for TLS definition to not hide code. Drop it in another
place as it is redundant.
2012-05-04 12:26:33 +00:00
christos
73e25da1dd - match regular ioctl prototype (3rd argument is optional)
- fix lint issues
2012-05-04 11:48:12 +00:00
christos
b01ba4dca4 depend on "vcoda" since it has symbols we need. 2012-05-04 02:06:27 +00:00
christos
b6690e266f fix locking in getpages when running executables. 2012-05-04 01:40:13 +00:00
christos
89fb5ce609 remove variable names from prototypes. 2012-05-04 01:38:56 +00:00
bsh
5a5aba4464 use uint64_t for sc_disksize512.
fixed the problem with ataraid volumes larger than 2 TiB.
2012-05-03 21:21:08 +00:00
mishka
89872c6470 Drop extra ")" symbol near "OpenSSH". 2012-05-03 19:07:13 +00:00
christos
b43ddeabe0 move the assert after the locked case. 2012-05-03 14:26:42 +00:00
rmind
b10bf4690c Revert posix_spawn() clean up for now, there are some bugs. 2012-05-02 23:33:11 +00:00
wiz
d4a2bd08b2 Remove trailing whitespace. 2012-05-02 22:38:31 +00:00
rmind
d9290bb010 do_open: move pathbuf destruction to the callers, thus simplify and fix a
memory leak on error path.
2012-05-02 20:48:29 +00:00
christos
e4d18b9bd2 Instead of sharing the coda vnode lock with the ffs vnode lock, share the
ffs vnode lock with coda.
2012-05-02 16:51:01 +00:00
gendalia
7591311640 Add the ability for staticroute to evaluate lines from /etc/route.conf
as shell script fragments, add example to the route.conf man page of
evaluating variables.

Remove route.conf man page statement that staticroute is enabled in
rc.conf since that's incorrect.

Wrap the staticroute while in parens, per <apb> & <christos>, and
quote all the arguments for the evals.
2012-05-02 15:57:15 +00:00
jakllsch
ccce006c72 Bump date to date of previous change. 2012-05-02 15:42:58 +00:00
christos
7d659a9119 make this compile again. 2012-05-02 14:54:26 +00:00
christos
b7d2912934 test for both NUL and _POSIX_VDISABLE, because _POSIX_VDISABLE propagation
between different daemons and OS's does not seem reliable.
2012-05-02 14:36:07 +00:00
cheusov
8e6f0d9ebd Add .include <bsd.sys.mk> for initializing USE_SSP.
This fixes build failure if USE_FORT=YES
   Approved by christos@
2012-05-02 13:35:03 +00:00
agc
1a27c54f9a re-work the previous to make it format correctly 2012-05-02 04:23:09 +00:00
christos
247db26913 mention openssh 6.0 2012-05-02 02:44:20 +00:00
christos
bd00465ee0 bump libssh 2012-05-02 02:43:00 +00:00
christos
845f0e2763 bump 2012-05-02 02:41:13 +00:00
christos
091c4109a8 merge OpenSSH 6.0
Features:

 * ssh-keygen(1): Add optional checkpoints for moduli screening
 * ssh-add(1): new -k option to load plain keys (skipping certificates)
 * sshd(8): Add wildcard support to PermitOpen, allowing things like
   "PermitOpen localhost:*".  bz #1857
 * ssh(1): support for cancelling local and remote port forwards via the
   multiplex socket. Use ssh -O cancel -L xx:xx:xx -R yy:yy:yy user@host"
   to request the cancellation of the specified forwardings
 * support cancellation of local/dynamic forwardings from ~C commandline

Bugfixes:

 * ssh(1): ensure that $DISPLAY contains only valid characters before
   using it to extract xauth data so that it can't be used to play local
   shell metacharacter games.
 * ssh(1): unbreak remote portforwarding with dynamic allocated listen ports
 * scp(1): uppress adding '--' to remote commandlines when the first
   argument does not start with '-'. saves breakage on some
   difficult-to-upgrade embedded/router platforms
 * ssh(1)/sshd(8): fix typo in IPQoS parsing: there is no "AF14" class,
   but there is an "AF21" class
 * ssh(1)/sshd(8): do not permit SSH2_MSG_SERVICE_REQUEST/ACCEPT during
   rekeying
 * ssh(1): skip attempting to create ~/.ssh when -F is passed
 * sshd(8): unbreak stdio forwarding when ControlPersist is in use; bz#1943
 * sshd(1): send tty break to pty master instead of (probably already
   closed) slave side; bz#1859
 * sftp(1): silence error spam for "ls */foo" in directory with files;
   bz#1683
 * Fixed a number of memory and file descriptor leaks
2012-05-02 02:41:08 +00:00
macallan
1da85cff6f remove some commented out / unused junk 2012-05-02 00:55:26 +00:00
riz
89f7ad6034 Check for del_rc_conf() == 0, not !del_rc_conf(), and fix a couple of
instances where the check was wrong.  sysinst now properly saves dhcp
and host config again.
2012-05-01 18:28:47 +00:00
agc
142f8d12eb document the correct argument to wstandout(3) and wstandend(3) 2012-05-01 17:32:58 +00:00
martin
fe585d0294 Explicitly include <sys/kmem.h> 2012-05-01 15:09:36 +00:00