CVS commit: src/sys/dev
Module Name:src Committed By: mlelstv Date: Sun Jul 12 05:57:06 UTC 2015 Modified Files: src/sys/dev: dksubr.c Log Message: remove duplicate variable initializations. To generate a diff of this commit: cvs rdiff -u -r1.64 -r1.65 src/sys/dev/dksubr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/dev/dksubr.c diff -u src/sys/dev/dksubr.c:1.64 src/sys/dev/dksubr.c:1.65 --- src/sys/dev/dksubr.c:1.64 Sat Jul 11 09:45:16 2015 +++ src/sys/dev/dksubr.c Sun Jul 12 05:57:06 2015 @@ -1,4 +1,4 @@ -/* $NetBSD: dksubr.c,v 1.64 2015/07/11 09:45:16 mlelstv Exp $ */ +/* $NetBSD: dksubr.c,v 1.65 2015/07/12 05:57:06 mlelstv Exp $ */ /*- * Copyright (c) 1996, 1997, 1998, 1999, 2002, 2008 The NetBSD Foundation, Inc. @@ -30,7 +30,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: dksubr.c,v 1.64 2015/07/11 09:45:16 mlelstv Exp $"); +__KERNEL_RCSID(0, "$NetBSD: dksubr.c,v 1.65 2015/07/12 05:57:06 mlelstv Exp $"); #include #include @@ -116,7 +116,6 @@ dk_open(struct dk_softc *dksc, dev_t dev dksc->sc_xname, dksc, dev, flags)); mutex_enter(&dk->dk_openlock); - part = DISKPART(dev); /* * If there are wedges, and this is not RAW_PART, then we @@ -127,8 +126,6 @@ dk_open(struct dk_softc *dksc, dev_t dev goto done; } - pmask = 1 << part; - /* * If we're init'ed and there are no other open partitions then * update the in-core disklabel.
CVS commit: src/distrib/sets/lists/xcomp
Module Name:src Committed By: christos Date: Sat Jul 11 22:20:20 UTC 2015 Modified Files: src/distrib/sets/lists/xcomp: mi Log Message: add missing lint library To generate a diff of this commit: cvs rdiff -u -r1.170 -r1.171 src/distrib/sets/lists/xcomp/mi Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/distrib/sets/lists/xcomp/mi diff -u src/distrib/sets/lists/xcomp/mi:1.170 src/distrib/sets/lists/xcomp/mi:1.171 --- src/distrib/sets/lists/xcomp/mi:1.170 Sat Jul 11 12:40:13 2015 +++ src/distrib/sets/lists/xcomp/mi Sat Jul 11 18:20:20 2015 @@ -1,4 +1,4 @@ -# $NetBSD: mi,v 1.170 2015/07/11 16:40:13 christos Exp $ +# $NetBSD: mi,v 1.171 2015/07/11 22:20:20 christos Exp $ # # Note: don't delete entries from here - mark them as "obsolete" instead. # @@ -9244,6 +9244,7 @@ ./usr/libdata/lint/llib-lFS.ln-unknown- lint,x11 ./usr/libdata/lint/llib-lFS.ln-unknown- lint,xorg ./usr/libdata/lint/llib-lGL.ln-unknown- lint,x11 +./usr/libdata/lint/llib-lGLU.ln-unknown- lint,xorg ./usr/libdata/lint/llib-lGLw.ln-unknown- lint,x11 ./usr/libdata/lint/llib-lGLw.ln-unknown- lint,xorg ./usr/libdata/lint/llib-lICE.ln-unknown- lint,x11
CVS commit: src/sys/arch/evbmips/conf
Module Name:src Committed By: macallan Date: Sat Jul 11 19:01:17 UTC 2015 Modified Files: src/sys/arch/evbmips/conf: std.ingenic Log Message: include files.sdmmc To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/arch/evbmips/conf/std.ingenic Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/arch/evbmips/conf/std.ingenic diff -u src/sys/arch/evbmips/conf/std.ingenic:1.1 src/sys/arch/evbmips/conf/std.ingenic:1.2 --- src/sys/arch/evbmips/conf/std.ingenic:1.1 Sat Nov 22 15:17:02 2014 +++ src/sys/arch/evbmips/conf/std.ingenic Sat Jul 11 19:01:17 2015 @@ -1,4 +1,4 @@ -# $NetBSD: std.ingenic,v 1.1 2014/11/22 15:17:02 macallan Exp $ +# $NetBSD: std.ingenic,v 1.2 2015/07/11 19:01:17 macallan Exp $ machine evbmips mips include "conf/std" # MI standard options @@ -12,4 +12,4 @@ makeoptions BOARDTYPE="ingenic" include "arch/evbmips/conf/files.ingenic" include "arch/mips/conf/files.ingenic" - +include "dev/sdmmc/files.sdmmc" # SD/MMC devices
CVS commit: src/sys/arch
Module Name:src Committed By: macallan Date: Sat Jul 11 19:00:04 UTC 2015 Modified Files: src/sys/arch/evbmips/conf: CI20 src/sys/arch/evbmips/ingenic: machdep.c src/sys/arch/mips/conf: files.ingenic src/sys/arch/mips/ingenic: apbus.c ingenic_com.c Log Message: - get rid of private bus space in ingenic_com.c - move com to apbus - attach the other UARTs To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/sys/arch/evbmips/conf/CI20 cvs rdiff -u -r1.8 -r1.9 src/sys/arch/evbmips/ingenic/machdep.c cvs rdiff -u -r1.5 -r1.6 src/sys/arch/mips/conf/files.ingenic cvs rdiff -u -r1.15 -r1.16 src/sys/arch/mips/ingenic/apbus.c cvs rdiff -u -r1.4 -r1.5 src/sys/arch/mips/ingenic/ingenic_com.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/arch/evbmips/conf/CI20 diff -u src/sys/arch/evbmips/conf/CI20:1.13 src/sys/arch/evbmips/conf/CI20:1.14 --- src/sys/arch/evbmips/conf/CI20:1.13 Mon Apr 6 14:12:28 2015 +++ src/sys/arch/evbmips/conf/CI20 Sat Jul 11 19:00:04 2015 @@ -1,4 +1,4 @@ -# $NetBSD: CI20,v 1.13 2015/04/06 14:12:28 martin Exp $ +# $NetBSD: CI20,v 1.14 2015/07/11 19:00:04 macallan Exp $ # # MIPS Creator CI20 # @@ -7,7 +7,7 @@ include "arch/evbmips/conf/std.ingenic" #options INCLUDE_CONFIG_FILE # embed config file in kernel binary -#ident "CI20-$Revision: 1.13 $" +#ident "CI20-$Revision: 1.14 $" maxusers 32 @@ -43,7 +43,7 @@ options NTP # network time protocol # Debugging options options DIAGNOSTIC # extra kernel sanity checking -options DEBUG # extra kernel debugging support +#options DEBUG # extra kernel debugging support #options KMEMSTATS # kernel memory statistics (vmstat -m) #options USERCONF # userconf(4) support #options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel @@ -134,15 +134,19 @@ options NFS_BOOT_DHCP config netbsd root on sd0a type ffs #config netbsd root on axe0 type nfs +#config netbsd root on dme0 type nfs mainbus0 at root #options MULTIPROCESSOR + cpu0 at mainbus? #wdog0 at mainbus? -com* at mainbus? apbus0 at mainbus? -# On-board USB +# On-chip UARTs +com* at apbus? + +# On-chip USB dwctwo* at apbus? #options DWC2_DEBUG usb* at dwctwo? @@ -150,17 +154,18 @@ usb* at dwctwo? ohci* at apbus? usb* at ohci? -# this one doesn't work yet +# this one doesn't work right just yet #ehci* at apbus? +#options INGENIC_EHCI_DEBUG +#options EHCI_DEBUG +#options USBVERBOSE +#options USBHIST #usb* at ehci? # onboard ethernet dme* at apbus? # I2C/SMBus -# Work in progress - can't do transfers over 15 bytes per direction, -# no interrupts etc. -# Good enough for talking to an RTC though, so it's enabled. jziic* at apbus? #options JZIIC_DEBUG # spammy iic* at jziic? @@ -182,6 +187,12 @@ pcf8563rtc0 at iic4 addr 0x51 #jzgpio* at apbus? addr ? #gpio* at jzgpio? +# MSC / SDMMC - unfinished +#jzmmc* at apbus? +#options JZMMC_DEBUG +#sdmmc* at jzmmc? +#ld* at sdmmc? + # USB stuff uhub* at usb? uhub* at uhub? port ? Index: src/sys/arch/evbmips/ingenic/machdep.c diff -u src/sys/arch/evbmips/ingenic/machdep.c:1.8 src/sys/arch/evbmips/ingenic/machdep.c:1.9 --- src/sys/arch/evbmips/ingenic/machdep.c:1.8 Tue Jun 30 02:39:03 2015 +++ src/sys/arch/evbmips/ingenic/machdep.c Sat Jul 11 19:00:04 2015 @@ -1,4 +1,4 @@ -/* $NetBSD: machdep.c,v 1.8 2015/06/30 02:39:03 matt Exp $ */ +/* $NetBSD: machdep.c,v 1.9 2015/07/11 19:00:04 macallan Exp $ */ /*- * Copyright (c) 2014 Michael Lorenz @@ -27,7 +27,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.8 2015/06/30 02:39:03 matt Exp $"); +__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.9 2015/07/11 19:00:04 macallan Exp $"); #include "opt_ddb.h" #include "opt_kgdb.h" @@ -242,6 +242,7 @@ consinit(void) * Everything related to console initialization is done * in mach_init(). */ + apbus_init(); ingenic_com_cnattach(); } Index: src/sys/arch/mips/conf/files.ingenic diff -u src/sys/arch/mips/conf/files.ingenic:1.5 src/sys/arch/mips/conf/files.ingenic:1.6 --- src/sys/arch/mips/conf/files.ingenic:1.5 Sat Apr 4 12:28:52 2015 +++ src/sys/arch/mips/conf/files.ingenic Sat Jul 11 19:00:04 2015 @@ -1,18 +1,19 @@ -# $NetBSD: files.ingenic,v 1.5 2015/04/04 12:28:52 macallan Exp $ +# $NetBSD: files.ingenic,v 1.6 2015/07/11 19:00:04 macallan Exp $ include "dev/scsipi/files.scsipi" # SCSI devices include "dev/ata/files.ata" # ATA devices include "dev/usb/files.usb" # USB devices -# On-chip UART device -attach com at mainbus with com_mainbus -file arch/mips/ingenic/ingenic_com.c com_mainbus - # Ingenic system bus device apbus { [addr=-1] } attach apbus at mainbus file arch/mips/ingenic/apbus.c apbus +# On-chip UART device +attach com at apbus with ingenic_com +file arch/mips/ingenic/ingenic_com.c ingenic_com +options COM_REGMAP + # USB attach dwctwo at apbus wi
CVS commit: src/sys/arch/mips/ingenic
Module Name:src Committed By: macallan Date: Sat Jul 11 18:54:03 UTC 2015 Modified Files: src/sys/arch/mips/ingenic: ingenic_regs.h Log Message: fix tpyos To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/sys/arch/mips/ingenic/ingenic_regs.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/arch/mips/ingenic/ingenic_regs.h diff -u src/sys/arch/mips/ingenic/ingenic_regs.h:1.19 src/sys/arch/mips/ingenic/ingenic_regs.h:1.20 --- src/sys/arch/mips/ingenic/ingenic_regs.h:1.19 Fri May 29 18:47:13 2015 +++ src/sys/arch/mips/ingenic/ingenic_regs.h Sat Jul 11 18:54:03 2015 @@ -1,4 +1,4 @@ -/* $NetBSD: ingenic_regs.h,v 1.19 2015/05/29 18:47:13 macallan Exp $ */ +/* $NetBSD: ingenic_regs.h,v 1.20 2015/07/11 18:54:03 macallan Exp $ */ /*- * Copyright (c) 2014 Michael Lorenz @@ -144,7 +144,7 @@ MFC0(uint32_t r, uint32_t s) #define CP0_CORE_CTRL 12 /* select 2 */ #define CC_SW_RST0 1 /* reset core 0 */ #define CC_SW_RST1 2 /* reset core 1 */ - #define CC_RPC0 0x100 /* dedicater reset entry core 0 */ + #define CC_RPC0 0x100 /* dedicated reset entry core 0 */ #define CC_RPC1 0x200 /* -- || -- core 1 */ #define CC_SLEEP0M 0x1 /* mask sleep core 0 */ #define CC_SLEEP1M 0x2 /* mask sleep core 1 */ @@ -316,14 +316,6 @@ MFC0(uint32_t r, uint32_t s) #define MSCCDR_STOP 0x0800 #define MSCCDR_PHASE 0x8000 /* 0 - 90deg phase, 1 - 180 */ #define MSCCDR_DIV_M 0x00ff /* src / ((div + 1) * 2) */ -#define JZ_UHCCDR 0x106c /* UHC Clock Divider Register */ - #define UHCCDR_SCLK_A 0x - #define UHCCDR_MPLL 0x4000 - #define UHCCDR_EPLL 0x8000 - #define UHCCDR_OTG_PHY 0xc000 - #define UHCCDR_CE 0x2000 - #define UHCCDR_BUSY 0x1000 - #define UHCCDR_STOP 0x0800 #define UHCCDR_DIV_M 0x00ff #define JZ_MSC1CDR 0x10a4 #define JZ_MSC2CDR 0x10a8
CVS commit: src/share/man/man7
Module Name:src Committed By: wiz Date: Sat Jul 11 17:36:09 UTC 2015 Modified Files: src/share/man/man7: sysctl.7 Log Message: Add more formatting. To generate a diff of this commit: cvs rdiff -u -r1.91 -r1.92 src/share/man/man7/sysctl.7 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/man/man7/sysctl.7 diff -u src/share/man/man7/sysctl.7:1.91 src/share/man/man7/sysctl.7:1.92 --- src/share/man/man7/sysctl.7:1.91 Sat Jul 11 17:24:13 2015 +++ src/share/man/man7/sysctl.7 Sat Jul 11 17:36:09 2015 @@ -1,4 +1,4 @@ -.\" $NetBSD: sysctl.7,v 1.91 2015/07/11 17:24:13 kamil Exp $ +.\" $NetBSD: sysctl.7,v 1.92 2015/07/11 17:36:09 wiz Exp $ .\" .\" Copyright (c) 1993 .\" The Regents of the University of California. All rights reserved. @@ -188,7 +188,7 @@ level is detailed below. The changeable column shows whether a process with appropriate privilege may change the value. .Bl -column "hw.machine_arch" "integer" "Changeable" -offset indent -.It Sy Second level name Type Changeable +.It Sy Second level name Sy Type Sy Changeable .It hw.alignbytes integer no .It hw.byteorder integer no .It hw.cnmagic string yes @@ -272,7 +272,7 @@ The changeable column shows whether a pr privilege may change the value. .Bl -column "kern.posix_reader_writer_locks" \ "struct kinfo_drivers" "not applicable" -.It Sy Second level name Type Changeable +.It Sy Second level name Sy Type Sy Changeable .It kern.aio_listio_max integer yes .It kern.aio_max integer yes .It kern.arandom integer no @@ -428,7 +428,7 @@ The third level name is .Dv kern.coredump.setid and fourth level variables are described below. .Bl -column "kern.coredump.setid.group" "integer" "Changeable" -offset indent -.It Sy Fourth level name Type Changeable +.It Sy Fourth level name Sy Type Sy Changeable .It kern.coredump.setid.dump integer yes .It kern.coredump.setid.group integer yes .It kern.coredump.setid.mode integer yes @@ -566,7 +566,7 @@ and Return information about the SysV IPC parameters. The third level names for the ipc variables are detailed below. .Bl -column "kern.ipc.shm_use_phys" "integer" "Changeable" -offset indent -.It Sy Third level name Type Changeable +.It Sy Third level name Sy Type Sy Changeable .It kern.ipc.sysvmsg integer no .It kern.ipc.sysvsem integer no .It kern.ipc.sysvshm integer no @@ -599,7 +599,7 @@ otherwise\ 0. Return System V style IPC configuration and run-time information. The fourth level name selects the System V style IPC facility. .Bl -column "KERN_SYSVIPC_MSG_INFO" "struct shm_sysctl_info" -offset indent -.It Sy Fourth level name Type +.It Sy Fourth level name Sy Type .It KERN_SYSVIPC_MSG_INFO struct msg_sysctl_info .It KERN_SYSVIPC_SEM_INFO struct sem_sysctl_info .It KERN_SYSVIPC_SHM_INFO struct shm_sysctl_info @@ -700,7 +700,7 @@ The third level names for the mbuf varia The changeable column shows whether a process with appropriate privilege may change the value. .Bl -column "kern.mbuf.nmbclusters" "integer" "Changeable" -offset indent -.It Sy Third level name Type Changeable +.It Sy Third level name Sy Type Sy Changeable .\" XXX Changeable? really? .It kern.mbuf.mblowat integer yes .It kern.mbuf.mclbytes integer yes @@ -743,7 +743,7 @@ otherwise\ 0. Settings related to kernel modules. The third level names for the settings are described below. .Bl -column "kern.module.autoload" "integer" "Changeable" -offset indent -.It Sy Third level name Type Changeable +.It Sy Third level name Sy Type Sy Changeable .It kern.module.autoload integer yes .It kern.module.autotime integer yes .It kern.module.verbose integer yes @@ -778,7 +778,7 @@ This node is created dynamically when the corresponding kernel module is loaded. The third level names for the settings are described below. .Bl -column "kern.mqueue.mq_max_msgsize" "integer" "Changeable" -offset indent -.It Sy Third level name Type Changeable +.It Sy Third level name Sy Type Sy Changeable .It kern.mqueue.mq_open_max integer yes .It kern.mqueue.mq_prio_max integer yes .It kern.mqueue.mq_max_msgsize integer yes @@ -830,7 +830,7 @@ The third level names for the integer p The changeable column shows whether a process with appropriate privilege may change the value. .Bl -column "kern.pipe.maxbigpipes" "integer" "Changeable" -offset indent -.It Sy Third level name Type Changeable +.It Sy Third level name Sy Type Sy Changeable .It kern.pipe.kvasiz integer yes .It kern.pipe.maxbigpipes integer yes .It kern.pipe.maxkvasz integer yes @@ -923,7 +923,7 @@ structures is returned, whose size depends on the current number of such objects in the system. The third and fourth level numeric names are as follows: .Bl -column "KERN_PROC_SESSION" "Fourth level is:" -offset indent -.It Sy Third level name Fourth level is: +.It Sy Third level name Sy Fourth level is: .It KERN_PROC_ALL None .It KERN_PROC_GID A group ID .It KERN
CVS commit: [netbsd-7] src/doc
Module Name:src Committed By: snj Date: Sat Jul 11 17:49:38 UTC 2015 Modified Files: src/doc [netbsd-7]: CHANGES-7.0 Log Message: 877 To generate a diff of this commit: cvs rdiff -u -r1.1.2.337 -r1.1.2.338 src/doc/CHANGES-7.0 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/doc/CHANGES-7.0 diff -u src/doc/CHANGES-7.0:1.1.2.337 src/doc/CHANGES-7.0:1.1.2.338 --- src/doc/CHANGES-7.0:1.1.2.337 Wed Jul 8 22:00:28 2015 +++ src/doc/CHANGES-7.0 Sat Jul 11 17:49:38 2015 @@ -1,4 +1,4 @@ -# $NetBSD: CHANGES-7.0,v 1.1.2.337 2015/07/08 22:00:28 snj Exp $ +# $NetBSD: CHANGES-7.0,v 1.1.2.338 2015/07/11 17:49:38 snj Exp $ A complete list of changes from the initial NetBSD 7.0 branch on 11 Aug 2014 until the 7.0 release: @@ -32267,3 +32267,246 @@ sys/arch/amd64/include/sljit_machdep.h Fix build with MKPIE=yes. PR toolchain/50008. [alnsn, ticket #872] +crypto/external/bsd/openssl/dist/CHANGES up to 1.7 +crypto/external/bsd/openssl/dist/Configure up to 1.12 +crypto/external/bsd/openssl/dist/Makefile up to 1.8 +crypto/external/bsd/openssl/dist/Makefile.org up to 1.1.1.10 +crypto/external/bsd/openssl/dist/NEWS up to 1.7 +crypto/external/bsd/openssl/dist/README up to 1.7 +crypto/external/bsd/openssl/dist/e_os2.h up to 1.1.1.6 +crypto/external/bsd/openssl/dist/openssl.spec up to 1.7 +crypto/external/bsd/openssl/dist/apps/Makefile up to 1.1.1.6 +crypto/external/bsd/openssl/dist/apps/apps.c up to 1.1.1.10 +crypto/external/bsd/openssl/dist/apps/asn1pars.c up to 1.1.1.5 +crypto/external/bsd/openssl/dist/apps/ca.c up to 1.10 +crypto/external/bsd/openssl/dist/apps/cms.c up to 1.1.1.8 +crypto/external/bsd/openssl/dist/apps/dhparam.c up to 1.1.1.5 +crypto/external/bsd/openssl/dist/apps/enc.c up to 1.1.1.8 +crypto/external/bsd/openssl/dist/apps/gendh.c up to 1.1.1.4 +crypto/external/bsd/openssl/dist/apps/ocsp.c up to 1.9 +crypto/external/bsd/openssl/dist/apps/s_cb.c up to 1.1.1.9 +crypto/external/bsd/openssl/dist/apps/s_client.c up to 1.10 +crypto/external/bsd/openssl/dist/apps/s_server.c up to 1.9 +crypto/external/bsd/openssl/dist/apps/s_time.c up to 1.6 +crypto/external/bsd/openssl/dist/apps/smime.c up to 1.1.1.6 +crypto/external/bsd/openssl/dist/apps/srp.c up to 1.1.1.5 +crypto/external/bsd/openssl/dist/apps/verify.c up to 1.1.1.6 +crypto/external/bsd/openssl/dist/crypto/Makefile up to 1.5 +crypto/external/bsd/openssl/dist/crypto/cryptlib.c up to 1.6 +crypto/external/bsd/openssl/dist/crypto/md32_common.h up to 1.6 +crypto/external/bsd/openssl/dist/crypto/mem.c up to 1.7 +crypto/external/bsd/openssl/dist/crypto/opensslconf.h up to 1.10 +crypto/external/bsd/openssl/dist/crypto/opensslconf.h.in up to 1.1.1.2 +crypto/external/bsd/openssl/dist/crypto/opensslv.h up to 1.16 +crypto/external/bsd/openssl/dist/crypto/aes/Makefile up to 1.4 +crypto/external/bsd/openssl/dist/crypto/aes/asm/aes-x86_64.pl up to 1.2 +crypto/external/bsd/openssl/dist/crypto/aes/asm/aesni-sha1-x86_64.pl up to 1.2 +crypto/external/bsd/openssl/dist/crypto/asn1/Makefile up to 1.1.1.3 +crypto/external/bsd/openssl/dist/crypto/asn1/a_int.c up to 1.1.1.6 +crypto/external/bsd/openssl/dist/crypto/asn1/asn1_gen.c up to 1.1.1.4 +crypto/external/bsd/openssl/dist/crypto/asn1/asn_mime.c up to 1.6 +crypto/external/bsd/openssl/dist/crypto/asn1/bio_ndef.c up to 1.1.1.4 +crypto/external/bsd/openssl/dist/crypto/asn1/tasn_new.c up to 1.1.1.4 +crypto/external/bsd/openssl/dist/crypto/asn1/tasn_prn.c up to 1.1.1.4 +crypto/external/bsd/openssl/dist/crypto/asn1/x_x509.c up to 1.1.1.4 +crypto/external/bsd/openssl/dist/crypto/bf/Makefile up to 1.1.1.3 +crypto/external/bsd/openssl/dist/crypto/bio/Makefile up to 1.1.1.2 +crypto/external/bsd/openssl/dist/crypto/bio/b_print.c up to 1.1.1.3 +crypto/external/bsd/openssl/dist/crypto/bio/bf_nbio.c up to 1.1.1.4 +crypto/external/bsd/openssl/dist/crypto/bio/bio.h up to 1.1.1.7 +crypto/external/bsd/openssl/dist/crypto/bio/bio_lib.c up to 1.1.1.6 +crypto/external/bsd/openssl/dist/crypto/bio/bss_dgram.c up to 1.1.1.11 +crypto/external/bsd/openssl/dist/crypto/bn/Makefile up to 1.1.1.5 +crypto/external/bsd/openssl/dist/crypto/bn/bn.h up to 1.5 +crypto/external/bsd/openssl/dist/crypto/bn/bn_err.c up to 1.1.1.3 +crypto/external/bsd/openssl/dist/crypto/bn/bn_gf2m.c up to 1.1.1.5 +crypto/external/bsd/openssl/dist/crypto/bn/bn_lcl.h up to 1.4 +crypto/external/bsd/openssl/dist/crypto/bn/bn_print.c up to 1.1.1.4 +crypto/external/bsd/openssl/dist/crypto/bn/bn_rand.c up to 1.1.1.3 +crypto/external/bsd/openssl/dist/crypto/bn/bn_shift.c up to 1.1.1.4 +crypto/external/bsd/openssl/dist/crypto/bn/asm/x86_64-gf2m.pl up to 1.2 +crypto/external/bsd/openssl/dist/crypto/buffer/Makefile up to 1.1.1.3 +crypto/external/bsd/openssl/dist/crypto/buffer/buffer.c up to 1.6 +crypto/external/bsd/openssl/dist/crypto/camellia/Makefile up to 1.1.1.3 +crypto/external/bsd/openssl/dist/crypto/cast/Makefile up to 1.1.1.3 +crypto/external/bsd/openssl/dist/crypto
CVS commit: src/share/man/man7
Module Name:src Committed By: kamil Date: Sat Jul 11 17:24:13 UTC 2015 Modified Files: src/share/man/man7: sysctl.7 Log Message: Use more macros for symbolic constants This change was suggested by in PR xsrc/49912 The change idea was approved by To generate a diff of this commit: cvs rdiff -u -r1.90 -r1.91 src/share/man/man7/sysctl.7 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/man/man7/sysctl.7 diff -u src/share/man/man7/sysctl.7:1.90 src/share/man/man7/sysctl.7:1.91 --- src/share/man/man7/sysctl.7:1.90 Sat Jul 11 16:47:49 2015 +++ src/share/man/man7/sysctl.7 Sat Jul 11 17:24:13 2015 @@ -1,4 +1,4 @@ -.\" $NetBSD: sysctl.7,v 1.90 2015/07/11 16:47:49 kamil Exp $ +.\" $NetBSD: sysctl.7,v 1.91 2015/07/11 17:24:13 kamil Exp $ .\" .\" Copyright (c) 1993 .\" The Regents of the University of California. All rights reserved. @@ -132,19 +132,19 @@ See for more information. .Ss The vfs.* subtree A distinguished second level name, -.Li vfs.generic ( VFS_GENERIC ) , +.Li vfs.generic ( Dv VFS_GENERIC ) , is used to get general information about all file systems. It has the following third level identifiers: .Bl -tag -width "123456" -.It Li vfs.generic.maxtypenum ( VFS_MAXTYPENUM ) +.It Li vfs.generic.maxtypenum ( Dv VFS_MAXTYPENUM ) The highest valid file system type number. -.It Li vfs.generic.conf ( VFS_CONF ) +.It Li vfs.generic.conf ( Dv VFS_CONF ) Returns configuration information about the file system type given as a fourth level identifier. -.It Li vfs.generic.usermount ( VFS_USERMOUNT ) +.It Li vfs.generic.usermount ( Dv VFS_USERMOUNT ) Determines if non superuser mounts are allowed, defaults to .Dv 0 . -.It Li vfs.generic.magiclinks ( VFS_MAGICLINKS ) +.It Li vfs.generic.magiclinks ( Dv VFS_MAGICLINKS ) Controls if expansion of variables is going to be performed on pathnames or not. Defaults to no variable expansion, @@ -206,23 +206,23 @@ privilege may change the value. .It hw.usermem64 quad no .El .Bl -tag -width "123456" -.It Li hw.alignbytes ( HW_ALIGNBYTES ) +.It Li hw.alignbytes ( Dv HW_ALIGNBYTES ) Alignment constraint for all possible data types. This shows the value .Dv ALIGNBYTES in .In machine/param.h , at the kernel compilation time. -.It Li hw.byteorder ( HW_BYTEORDER ) +.It Li hw.byteorder ( Dv HW_BYTEORDER ) The byteorder (4321, or 1234). -.It Li hw.cnmagic ( HW_CNMAGIC ) +.It Li hw.cnmagic ( Dv HW_CNMAGIC ) The console magic key sequence. -.It Li hw.disknames ( HW_DISKNAMES ) +.It Li hw.disknames ( Dv HW_DISKNAMES ) The list of (space separated) disk device names on the system. -.It Li hw.iostatnames ( HW_IOSTATNAMES ) +.It Li hw.iostatnames ( Dv HW_IOSTATNAMES ) A space separated list of devices that will have I/O statistics collected on them. -.It Li hw.iostats ( HW_IOSTATS ) +.It Li hw.iostats ( Dv HW_IOSTATS ) Return statistical information on the NFS mounts, disk and tape devices on the system. An array of @@ -242,25 +242,25 @@ Which can be (tape drive), or .Dv IOSTAT_NFS (NFS mount). -.It Li hw.machine ( HW_MACHINE ) +.It Li hw.machine ( Dv HW_MACHINE ) The machine class. -.It Li hw.machine_arch ( HW_MACHINE_ARCH ) +.It Li hw.machine_arch ( Dv HW_MACHINE_ARCH ) The machine CPU class. -.It Li hw.model ( HW_MODEL ) +.It Li hw.model ( Dv HW_MODEL ) The machine model. -.It Li hw.ncpu ( HW_NCPU ) +.It Li hw.ncpu ( Dv HW_NCPU ) The number of CPUs configured. -.It Li hw.ncpuonline ( HW_NCPUONLINE ) +.It Li hw.ncpuonline ( Dv HW_NCPUONLINE ) The number of CPUs online. -.It Li hw.pagesize ( HW_PAGESIZE ) +.It Li hw.pagesize ( Dv HW_PAGESIZE ) The software page size. -.It Li hw.physmem ( HW_PHYSMEM ) +.It Li hw.physmem ( Dv HW_PHYSMEM ) The bytes of physical memory as a 32-bit integer. -.It Li hw.physmem64 ( HW_PHYSMEM64 ) +.It Li hw.physmem64 ( Dv HW_PHYSMEM64 ) The bytes of physical memory as a 64-bit integer. -.It Li hw.usermem ( HW_USERMEM ) +.It Li hw.usermem ( Dv HW_USERMEM ) The bytes of non-kernel memory as a 32-bit integer. -.It Li hw.usermem64 ( HW_USERMEM64 ) +.It Li hw.usermem64 ( Dv HW_USERMEM64 ) The bytes of non-kernel memory as a 64-bit integer. .El .Ss The kern.* subtree @@ -386,14 +386,14 @@ The used random number generator .Pf ( Tn RNG ) is based on .Xr arc4random 3 . -.It Li kern.argmax ( KERN_ARGMAX ) +.It Li kern.argmax ( Dv KERN_ARGMAX ) The maximum bytes of argument to .Xr execve 2 . .It Li kern.boothowto Flags passed from the boot loader; see .Xr reboot 2 for the meanings of the flags. -.It Li kern.boottime ( KERN_BOOTTIME ) +.It Li kern.boottime ( Dv KERN_BOOTTIME ) A .Vt struct timeval structure is returned. @@ -403,9 +403,9 @@ When the kernel is built, the build envi arbitrary information to be stored in this variable. .\" .It Li kern.bufq .\" XXX: Undocumented. -.It Li kern.ccpu ( KERN_CCPU ) +.It Li kern.ccpu ( Dv KERN_CCPU ) The scheduler exponential decay value. -.It Li ke
CVS commit: src/share/man/man7
Module Name:src Committed By: kamil Date: Sat Jul 11 16:47:49 UTC 2015 Modified Files: src/share/man/man7: sysctl.7 Log Message: Correct mandoc warnings and errors This change should be no visible to users. To generate a diff of this commit: cvs rdiff -u -r1.89 -r1.90 src/share/man/man7/sysctl.7 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/man/man7/sysctl.7 diff -u src/share/man/man7/sysctl.7:1.89 src/share/man/man7/sysctl.7:1.90 --- src/share/man/man7/sysctl.7:1.89 Sat Jul 11 09:55:21 2015 +++ src/share/man/man7/sysctl.7 Sat Jul 11 16:47:49 2015 @@ -1,4 +1,4 @@ -.\" $NetBSD: sysctl.7,v 1.89 2015/07/11 09:55:21 wiz Exp $ +.\" $NetBSD: sysctl.7,v 1.90 2015/07/11 16:47:49 kamil Exp $ .\" .\" Copyright (c) 1993 .\" The Regents of the University of California. All rights reserved. @@ -205,7 +205,6 @@ privilege may change the value. .It hw.usermem integer no .It hw.usermem64 quad no .El -.Pp .Bl -tag -width "123456" .It Li hw.alignbytes ( HW_ALIGNBYTES ) Alignment constraint for all possible data types. @@ -605,7 +604,6 @@ The fourth level name selects the System .It KERN_SYSVIPC_SEM_INFO struct sem_sysctl_info .It KERN_SYSVIPC_SHM_INFO struct shm_sysctl_info .El -.Pp .Bl -tag -width "123456" .It Li KERN_SYSVIPC_MSG_INFO Return information on the System V style message facility. @@ -1197,7 +1195,6 @@ protocol number, though this is not alwa .It net.inet6 IPv6 values yes .It net.key IPsec key management values yes .El -.Pp .Bl -tag -width "123456" .It Li net.route ( PF_ROUTE ) .\" XXX really? @@ -1623,7 +1620,7 @@ The currently defined protocols and name .It ip6 accept_rtadv integer yes .It ip6 anonportalgo.selected string yes .It ip6 anonportalgo.available string yes -.It ip6 anonportalgo.reserve struct yes +.It ip6 anonportalgo.reserve struct yes .It ip6 anonportmax integer yes .It ip6 anonportmin integer yes .It ip6 auto_flowlabel integer yes @@ -2240,7 +2237,6 @@ privilege may change the value. .It vm.uvmexp2 struct uvmexp_sysctl no .It vm.vmmeter struct vmtotal no .El -.Pp .Bl -tag -width "123456" .It Li vm.anonmax ( VM_ANONMAX ) The percentage of physical memory which will be reclaimed @@ -2314,7 +2310,6 @@ privilege may change the value. .It ddb.tee_msgbuf integer yes .It ddb.commandonenter string yes .El -.Pp .Bl -tag -width "123456" .It Li ddb.radix ( DDBCTL_RADIX ) The input and output radix. @@ -2366,7 +2361,6 @@ The available second level names are: .El .Pp Available settings are detailed below. -.Pp .Bl -tag -width "123456" .It Li security.curtain If non-zero, will filter return objects according to the user @@ -2420,7 +2414,6 @@ The available third and fourth level nam .It Li security.pax.segvguard.max_crashes integer yes .It Li security.pax.segvguard.suspend_timeout integer yes .El -.Pp .Bl -tag -width "123456" .It Li security.pax.aslr.enabled Enable PaX ASLR (Address Space Layout Randomization).
CVS commit: src/lib/libc/time
Module Name:src Committed By: christos Date: Sat Jul 11 16:41:08 UTC 2015 Removed Files: src/lib/libc/time: tzfile.h Log Message: remove local copy of tzfile.h To generate a diff of this commit: cvs rdiff -u -r1.16 -r0 src/lib/libc/time/tzfile.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/include
Module Name:src Committed By: christos Date: Sat Jul 11 16:40:53 UTC 2015 Modified Files: src/include: tzfile.h Log Message: updatre with latest from tzcode. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/include/tzfile.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/include/tzfile.h diff -u src/include/tzfile.h:1.7 src/include/tzfile.h:1.8 --- src/include/tzfile.h:1.7 Thu Aug 7 05:44:11 2003 +++ src/include/tzfile.h Sat Jul 11 12:40:53 2015 @@ -1,59 +1,47 @@ -/* $NetBSD: tzfile.h,v 1.7 2003/08/07 09:44:11 agc Exp $ */ +/* $NetBSD: tzfile.h,v 1.8 2015/07/11 16:40:53 christos Exp $ */ + +#ifndef _TZFILE_H_ +#define _TZFILE_H_ /* - * Copyright (c) 1988, 1993 - * The Regents of the University of California. All rights reserved. - * - * This code is derived from software contributed to Berkeley by - * Arthur David Olson of the National Cancer Institute. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - *notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - *notice, this list of conditions and the following disclaimer in the - *documentation and/or other materials provided with the distribution. - * 3. Neither the name of the University nor the names of its contributors - *may be used to endorse or promote products derived from this software - *without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * - * @(#)tzfile.h 8.1 (Berkeley) 6/2/93 - */ +** This file is in the public domain, so clarified as of +** 1996-06-05 by Arthur David Olson. +*/ -#ifndef _TZFILE_H_ -#define _TZFILE_H_ +/* +** This header is for use ONLY with the time conversion code. +** There is no guarantee that it will remain unchanged, +** or that it will remain at all. +** Do NOT copy it to any system include directory. +** Thank you! +*/ /* - * Information about time zone files. - */ - /* Time zone object file directory */ +** Information about time zone files. +*/ + +#ifndef TZDIR /* Time zone object file directory */ #define TZDIR "/usr/share/zoneinfo" +#endif /* !defined TZDIR */ + +#ifndef TZDEFAULT #define TZDEFAULT "/etc/localtime" +#endif /* !defined TZDEFAULT */ + +#ifndef TZDEFRULES #define TZDEFRULES "posixrules" +#endif /* !defined TZDEFRULES */ /* ** Each file begins with. . . */ -#define TZ_MAGIC "TZif" +#define TZ_MAGIC "TZif" struct tzhead { char tzh_magic[4]; /* TZ_MAGIC */ - char tzh_reserved[16]; /* reserved for future use */ + char tzh_version[1]; /* '\0' or '2' or '3' as of 2013 */ + char tzh_reserved[15]; /* reserved; must be zero */ char tzh_ttisgmtcnt[4]; /* coded number of trans. time flags */ char tzh_ttisstdcnt[4]; /* coded number of trans. time flags */ char tzh_leapcnt[4]; /* coded number of leap seconds */ @@ -68,49 +56,64 @@ struct tzhead { ** tzh_timecnt (char [4])s coded transition times a la time(2) ** tzh_timecnt (unsigned char)s types of local time starting at above ** tzh_typecnt repetitions of -** one (char [4]) coded UTC offset in seconds +** one (char [4]) coded UT offset in seconds ** one (unsigned char) used to set tm_isdst ** one (unsigned char) that's an abbreviation list index ** tzh_charcnt (char)s '\0'-terminated zone abbreviations ** tzh_leapcnt repetitions of ** one (char [4]) coded leap second transition times ** one (char [4]) total correction after above -** tzh_ttisstdcnt (char)s indexed by type; if TRUE, transition -** time is standard time, if FALSE, +** tzh_ttisstdcnt (char)s indexed by type; if 1, transition +** time is standard time, if 0, ** transition time is wall clock time ** if absent, transition times are ** assumed to be wall clock time -** tzh_ttisgmtcnt (char)s indexed by type; if TRUE, transition -** time is UTC, if FALSE, -** transition time is wall clock time +** tzh_ttisgmtcnt (char)s indexed by type; i
CVS commit: src/distrib/sets/lists/xcomp
Module Name:src Committed By: christos Date: Sat Jul 11 16:40:14 UTC 2015 Modified Files: src/distrib/sets/lists/xcomp: mi Log Message: another one bites the dust To generate a diff of this commit: cvs rdiff -u -r1.169 -r1.170 src/distrib/sets/lists/xcomp/mi Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/distrib/sets/lists/xcomp/mi diff -u src/distrib/sets/lists/xcomp/mi:1.169 src/distrib/sets/lists/xcomp/mi:1.170 --- src/distrib/sets/lists/xcomp/mi:1.169 Wed Jul 1 14:18:00 2015 +++ src/distrib/sets/lists/xcomp/mi Sat Jul 11 12:40:13 2015 @@ -1,4 +1,4 @@ -# $NetBSD: mi,v 1.169 2015/07/01 18:18:00 christos Exp $ +# $NetBSD: mi,v 1.170 2015/07/11 16:40:13 christos Exp $ # # Note: don't delete entries from here - mark them as "obsolete" instead. # @@ -9337,7 +9337,7 @@ ./usr/libdata/lint/llib-lpciaccess.ln -unknown- lint,xorg ./usr/libdata/lint/llib-lpsres.ln -unknown- lint,x11 ./usr/libdata/lint/llib-lpthread-stubs.ln -unknown- lint,xorg -./usr/libdata/lint/llib-lre.ln-unknown- lint,xorg +./usr/libdata/lint/llib-lre.ln-obsolete- obsolete ./usr/libdata/lint/llib-lxcb-composite.ln -obsolete- obsolete ./usr/libdata/lint/llib-lxcb-damage.ln -unknown- lint,xorg ./usr/libdata/lint/llib-lxcb-dpms.ln -unknown- lint,xorg
CVS commit: src/lib/libc/time
Module Name:src Committed By: christos Date: Sat Jul 11 16:09:15 UTC 2015 Modified Files: src/lib/libc/time: tzcode2netbsd Log Message: - don't copy the man pages anymore. they have been converted to mdoc format. - don't delete extra files, but mention the 'import' process To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/lib/libc/time/tzcode2netbsd Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/lib/libc/time/tzcode2netbsd diff -u src/lib/libc/time/tzcode2netbsd:1.5 src/lib/libc/time/tzcode2netbsd:1.6 --- src/lib/libc/time/tzcode2netbsd:1.5 Thu May 27 16:33:31 2004 +++ src/lib/libc/time/tzcode2netbsd Sat Jul 11 12:09:15 2015 @@ -1,7 +1,7 @@ #! /bin/sh # -# $NetBSD: tzcode2netbsd,v 1.5 2004/05/27 20:33:31 kleink Exp $ +# $NetBSD: tzcode2netbsd,v 1.6 2015/07/11 16:09:15 christos Exp $ # # Convert an extracted tzcode distribution into the format suitable # for importing it into the NetBSD source tree. @@ -23,11 +23,10 @@ NOIMPORT="Makefile zdump.8.txt zic.8.txt" -NEWTONORMAL="ctime.3 - tzset.3" +#rm -f ${NOIMPORT} +#mv tzfile.h ../../../include -rm -f ${NOIMPORT} - -for f in ${NEWTONORMAL}; do - mv new${f} ${f}; -done +echo remember to check tzfile.h in ../../../include +echo you can find the current version in the Makefile +echo we don't use this script anymore to import, but diff against the +echo current version and apply patches.
CVS commit: src/lib/libc/stdlib
Module Name:src Committed By: wiz Date: Sat Jul 11 15:51:33 UTC 2015 Modified Files: src/lib/libc/stdlib: strtou.3 Log Message: Add missing Fc. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/lib/libc/stdlib/strtou.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/lib/libc/stdlib/strtou.3 diff -u src/lib/libc/stdlib/strtou.3:1.2 src/lib/libc/stdlib/strtou.3:1.3 --- src/lib/libc/stdlib/strtou.3:1.2 Sun May 3 12:28:20 2015 +++ src/lib/libc/stdlib/strtou.3 Sat Jul 11 15:51:33 2015 @@ -1,4 +1,4 @@ -.\" $NetBSD: strtou.3,v 1.2 2015/05/03 12:28:20 wiz Exp $ +.\" $NetBSD: strtou.3,v 1.3 2015/07/11 15:51:33 wiz Exp $ .\" .\" Copyright (c) 1990, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -54,6 +54,7 @@ .Fa "uintmax_t lo" .Fa "uintmax_t hi" .Fa "int *rstatus" +.Fc .Sh DESCRIPTION The .Fn strtou
CVS commit: src/lib/libc/stdlib
Module Name:src Committed By: wiz Date: Sat Jul 11 15:50:56 UTC 2015 Modified Files: src/lib/libc/stdlib: strtoi.3 Log Message: Add missing Fc which broke man page on the web. Remove superfluous Pp. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/lib/libc/stdlib/strtoi.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/lib/libc/stdlib/strtoi.3 diff -u src/lib/libc/stdlib/strtoi.3:1.2 src/lib/libc/stdlib/strtoi.3:1.3 --- src/lib/libc/stdlib/strtoi.3:1.2 Sun May 3 12:27:32 2015 +++ src/lib/libc/stdlib/strtoi.3 Sat Jul 11 15:50:56 2015 @@ -1,4 +1,4 @@ -.\" $NetBSD: strtoi.3,v 1.2 2015/05/03 12:27:32 wiz Exp $ +.\" $NetBSD: strtoi.3,v 1.3 2015/07/11 15:50:56 wiz Exp $ .\" .\" Copyright (c) 1990, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -54,6 +54,7 @@ .Fa "intmax_t lo" .Fa "intmax_t hi" .Fa "int *rstatus" +.Fc .Sh DESCRIPTION The .Fn strtoi @@ -161,7 +162,6 @@ argument. The following example will always return a number in .Dv [1..99] range no matter what the input is, and warn if the conversion failed. -.Pp .Bd -literal -offset indent int e; intmax_t lval = strtoi(buf, NULL, 0, 1, 99, &e);
CVS commit: src/share/man/man9
Module Name:src Committed By: wiz Date: Sat Jul 11 15:42:31 UTC 2015 Modified Files: src/share/man/man9: vnsubr.9 Log Message: Avoid Pq. To generate a diff of this commit: cvs rdiff -u -r1.42 -r1.43 src/share/man/man9/vnsubr.9 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/man/man9/vnsubr.9 diff -u src/share/man/man9/vnsubr.9:1.42 src/share/man/man9/vnsubr.9:1.43 --- src/share/man/man9/vnsubr.9:1.42 Thu Feb 27 16:51:37 2014 +++ src/share/man/man9/vnsubr.9 Sat Jul 11 15:42:31 2015 @@ -1,4 +1,4 @@ -.\" $NetBSD: vnsubr.9,v 1.42 2014/02/27 16:51:37 hannken Exp $ +.\" $NetBSD: vnsubr.9,v 1.43 2015/07/11 15:42:31 wiz Exp $ .\" .\" Copyright (c) 2001, 2005, 2006 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -182,9 +182,9 @@ then perform the I/O. The argument .Fa rw specifies whether the I/O is a read -.Pq Dv UIO_READ +.Dv ( UIO_READ ) or write -.Pq Dv UIO_WRITE +.Dv ( UIO_WRITE ) operation. The vnode is specified by .Fa vp .
CVS commit: src/lib/libc
Module Name:src Committed By: riastradh Date: Sat Jul 11 15:23:57 UTC 2015 Modified Files: src/lib/libc: README Log Message: Elaborate documentation of libc symbol rules. - Say `provide' for what libc does to a symbol. - Say `define' for what source code does to a symbol or macro. - Quote code fragments rather than just talking about them. - Qualify ELF symbols as such. - List provided ELF symbols in tables rather than in prose. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/lib/libc/README Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/lib/libc/README diff -u src/lib/libc/README:1.4 src/lib/libc/README:1.5 --- src/lib/libc/README:1.4 Sat Jul 11 14:29:50 2015 +++ src/lib/libc/README Sat Jul 11 15:23:57 2015 @@ -1,4 +1,4 @@ - $NetBSD: README,v 1.4 2015/07/11 14:29:50 riastradh Exp $ + $NetBSD: README,v 1.5 2015/07/11 15:23:57 riastradh Exp $ libc: The C library. @@ -14,17 +14,37 @@ libc contains symbols for: ** Standard library routines If a library routine is standard and its signature has never changed, -it is defined as an ELF global symbol. Its name is declared normally +it is provided as an ELF global symbol. Its name is declared normally in the appropriate header file. -=> Example: libc defines global symbols `malloc' and `free' for the - standard C memory allocator routines. The names `malloc' and `free' - are declared normally in (src/include/stdlib.h). +=> Example: The names `malloc' and `free' are declared normally in +(src/include/stdlib.h): + + void *malloc(size_t); + void free(void *); + + libc provides the following ELF symbols: + + malloc global + free global + + In the implementation of libc, malloc and free are defined normally + in src/lib/libc/stdlib/jemalloc.c: + + void * + malloc(size_t size) + { + ... + + void + free(void *ptr) + { + ... ** NetBSD-specific nonstandard extensions If a library routine is nonstandard but published and its signature has -never changed, it is defined as an ELF weak symbol aliasing an ELF +never changed, it is provided as an ELF weak symbol aliasing an ELF global symbol of the same name with an underscore prefix. The name is declared normally in the appropriate header file, provided @@ -32,28 +52,50 @@ that the relevant feature macro, such as Within libc, the name is defined in "namespace.h" (src/lib/libc/include/namespace.h) as a macro expanding to the -underscored name, so that the definition in a .c file will define the -underscored ELF global symbol. +underscored name, which is included before the relevant header file, so +that + +(a) the definition in a .c file will define the underscored ELF global +symbol, and + +(b) the declaration in the standard header file will match the +definition in the .c file. Alongside the definition in the .c file is a __weak_alias directive to create the ELF weak symbol alias. -=> Example: For the nonstandard extension consttime_memequal, libc - defines a weak symbol `consttime_memequal' aliasing a global symbol - `_consttime_memequal'. - - The header file (src/include/string.h) declares - `consttime_memequal' normally, if the caller defines _NETBSD_SOURCE. +=> Example: For the nonstandard extension consttime_memequal, the + header file (src/include/string.h) declares + `consttime_memequal' normally, if the caller defines _NETBSD_SOURCE: + + #if defined(_NETBSD_SOURCE) + ... + int consttime_memequal(const void *, const void *, size_t); + ... + #endif /* _NETBSD_SOURCE */ + + libc provides the following ELF symbols: + + _consttime_memequal global + consttime_memequal weak alias for _consttime_memequal + + In the implementation of libc, the header file "namespace.h" + (src/lib/libc/include/namespace.h) defines `consttime_memequal' as a + macro expanding to `_consttime_memequal': - The header file "namespace.h" (src/lib/libc/include/namespace.h) - defines `consttime_memequal' as a macro expanding to - `_consttime_memequal'. + #define consttime_memequal _consttime_memequal The source file src/common/lib/libc/string/consttime_memequal.c includes "namespace.h" and , and defines - `consttime_memequal' normally, which, after macro expansion, causes - the ELF global symbol `_consttime_memequal' to be defined. + `consttime_memequal' normally: + int + consttime_memequal(const void *b1, const void *b2, size_t len) + { + ... + + Macro expansion replaces `consttime_memequal' by + `_consttime_memequal', which is the ELF global symbol this defines. Alongside the definition is __weak_alias(consttime_memequal,_consttime_memequal) @@ -67,11 +109,26 @@ If a library routine is internal to libc global symbol with an underscore prefix. Its name is declared in the appropriate internal header file. -=> Example: For the internal library routine _initdir, used by the - implementations of opendi
CVS commit: src/lib/libc
Module Name:src Committed By: riastradh Date: Sat Jul 11 14:29:50 UTC 2015 Modified Files: src/lib/libc: README Log Message: Add section headings. Match order in table of contents. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/lib/libc/README Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/lib/libc/README diff -u src/lib/libc/README:1.3 src/lib/libc/README:1.4 --- src/lib/libc/README:1.3 Fri Mar 20 14:10:40 2015 +++ src/lib/libc/README Sat Jul 11 14:29:50 2015 @@ -1,4 +1,4 @@ - $NetBSD: README,v 1.3 2015/03/20 14:10:40 riastradh Exp $ + $NetBSD: README,v 1.4 2015/07/11 14:29:50 riastradh Exp $ libc: The C library. @@ -8,8 +8,10 @@ libc contains symbols for: (a) standard library routines in C and POSIX, (b) published NetBSD-specific nonstandard extensions, -(c) old versions of library routines, and -(d) internal symbols. +(c) internal symbols, and +(d) old versions of any published library routines. + +** Standard library routines If a library routine is standard and its signature has never changed, it is defined as an ELF global symbol. Its name is declared normally @@ -19,6 +21,8 @@ in the appropriate header file. standard C memory allocator routines. The names `malloc' and `free' are declared normally in (src/include/stdlib.h). +** NetBSD-specific nonstandard extensions + If a library routine is nonstandard but published and its signature has never changed, it is defined as an ELF weak symbol aliasing an ELF global symbol of the same name with an underscore prefix. @@ -57,6 +61,8 @@ create the ELF weak symbol alias. to provide `consttime_memequal' as an ELF weak symbol aliasing `_consttime_memequal'. +** Internal symbols + If a library routine is internal to libc, it is defined as an ELF global symbol with an underscore prefix. Its name is declared in the appropriate internal header file. @@ -67,6 +73,8 @@ appropriate internal header file. src/lib/libc/gen/dirent_private.h, and defined normally in src/lib/libc/gen/initdir.c. +** Old versions of library routines + If the signature or semantics of a library routine foo changed in (for example) NetBSD 6.0, then libc provides
CVS commit: src/share/man/man5
Module Name:src Committed By: kamil Date: Sat Jul 11 14:18:08 UTC 2015 Modified Files: src/share/man/man5: login.conf.5 Log Message: Clean-up documentation of login.conf(5) Remove redundant word "limit" from sentences "Maximum ...". Note that vmemoryuse might specify both maximum and current limits. Remove redundant 'in bytes' from the description of vmemoryuse, it's noted in the next section describing the argument type 'size'. Changes inspired by in PR xsrc/49912 To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.31 src/share/man/man5/login.conf.5 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/man/man5/login.conf.5 diff -u src/share/man/man5/login.conf.5:1.30 src/share/man/man5/login.conf.5:1.31 --- src/share/man/man5/login.conf.5:1.30 Sat Jul 11 09:54:06 2015 +++ src/share/man/man5/login.conf.5 Sat Jul 11 14:18:08 2015 @@ -1,4 +1,4 @@ -.\" $NetBSD: login.conf.5,v 1.30 2015/07/11 09:54:06 wiz Exp $ +.\" $NetBSD: login.conf.5,v 1.31 2015/07/11 14:18:08 kamil Exp $ .\" .\" Copyright (c) 1995,1996,1997 Berkeley Software Design, Inc. .\" All rights reserved. @@ -94,7 +94,7 @@ displays it before the welcome message.) .\" .sp .It Sy coredumpsize Ta size Ta "" Ta -Maximum coredump size limit. +Maximum coredump size. .\" .sp .It Sy cputime Ta time Ta "" Ta @@ -102,11 +102,11 @@ CPU usage limit. .\" .sp .It Sy datasize Ta size Ta "" Ta -Maximum data size limit. +Maximum data size. .\" .sp .It Sy filesize Ta size Ta "" Ta -Maximum file size limit. +Maximum file size. .\" .sp .It Sy host.allow Ta string Ta "" Ta @@ -173,11 +173,11 @@ The first thread of each process is not .\" .sp .It Sy memorylocked Ta size Ta "" Ta -Maximum locked in core memory size limit. +Maximum locked in core memory size. .\" .sp .It Sy memoryuse Ta size Ta "" Ta -Maximum in core memoryuse size limit. +Maximum in core memoryuse size. .\" .sp .It Sy minpasswordlen Ta number Ta "" Ta @@ -229,7 +229,7 @@ Require home directory to login. .\" .sp .It Sy sbsize Ta size Ta "" Ta -Maximum socket buffer size limit. +Maximum socket buffer size. .\" .sp .It Sy setenv Ta list Ta "" Ta @@ -246,7 +246,7 @@ environment variable will contain the sh .\" .sp .It Sy stacksize Ta size Ta "" Ta -Maximum stack size limit. +Maximum stack size. .\" .sp .It Sy tc Ta string Ta "" Ta @@ -272,7 +272,7 @@ See .\" .sp .It Sy vmemoryuse Ta size Ta "" Ta -Maximum virtual address space size in bytes. +Maximum virtual address space size. .\" .sp .It Sy welcome Ta file Ta Li /etc/motd Ta @@ -293,8 +293,9 @@ The resource limit entries .Sy memoryuse , .Sy openfiles , .Sy sbsize , +.Sy stacksize and -.Sy stacksize ) +.Sy vmemoryuse ) actually specify both the maximum and current limits (see .Xr getrlimit 2 ) . The current limit is the one normally used,
CVS commit: src/sys/ufs
Module Name:src Committed By: mlelstv Date: Sat Jul 11 11:04:48 UTC 2015 Modified Files: src/sys/ufs/lfs: ulfs_lookup.c src/sys/ufs/ufs: ufs_lookup.c Log Message: mp->mnt_stat.f_flag is never set. Use the mnt_flag directly. This will now actually prevent the 'bad dir' panic if the filesystem is read-only. To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/sys/ufs/lfs/ulfs_lookup.c cvs rdiff -u -r1.134 -r1.135 src/sys/ufs/ufs/ufs_lookup.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/ufs/lfs/ulfs_lookup.c diff -u src/sys/ufs/lfs/ulfs_lookup.c:1.24 src/sys/ufs/lfs/ulfs_lookup.c:1.25 --- src/sys/ufs/lfs/ulfs_lookup.c:1.24 Sun May 31 15:48:03 2015 +++ src/sys/ufs/lfs/ulfs_lookup.c Sat Jul 11 11:04:48 2015 @@ -1,4 +1,4 @@ -/* $NetBSD: ulfs_lookup.c,v 1.24 2015/05/31 15:48:03 hannken Exp $ */ +/* $NetBSD: ulfs_lookup.c,v 1.25 2015/07/11 11:04:48 mlelstv Exp $ */ /* from NetBSD: ufs_lookup.c,v 1.122 2013/01/22 09:39:18 dholland Exp */ /* @@ -38,7 +38,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: ulfs_lookup.c,v 1.24 2015/05/31 15:48:03 hannken Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ulfs_lookup.c,v 1.25 2015/07/11 11:04:48 mlelstv Exp $"); #ifdef _KERNEL_OPT #include "opt_lfs.h" @@ -657,7 +657,7 @@ ulfs_dirbad(struct inode *ip, doff_t off printf("%s: bad dir ino %llu at offset %d: %s\n", mp->mnt_stat.f_mntonname, (unsigned long long)ip->i_number, offset, how); - if ((mp->mnt_stat.f_flag & MNT_RDONLY) == 0) + if ((mp->mnt_flag & MNT_RDONLY) == 0) panic("bad dir"); } Index: src/sys/ufs/ufs/ufs_lookup.c diff -u src/sys/ufs/ufs/ufs_lookup.c:1.134 src/sys/ufs/ufs/ufs_lookup.c:1.135 --- src/sys/ufs/ufs/ufs_lookup.c:1.134 Sat Mar 28 17:23:42 2015 +++ src/sys/ufs/ufs/ufs_lookup.c Sat Jul 11 11:04:48 2015 @@ -1,4 +1,4 @@ -/* $NetBSD: ufs_lookup.c,v 1.134 2015/03/28 17:23:42 maxv Exp $ */ +/* $NetBSD: ufs_lookup.c,v 1.135 2015/07/11 11:04:48 mlelstv Exp $ */ /* * Copyright (c) 1989, 1993 @@ -37,7 +37,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: ufs_lookup.c,v 1.134 2015/03/28 17:23:42 maxv Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ufs_lookup.c,v 1.135 2015/07/11 11:04:48 mlelstv Exp $"); #ifdef _KERNEL_OPT #include "opt_ffs.h" @@ -657,7 +657,7 @@ ufs_dirbad(struct inode *ip, doff_t offs printf("%s: bad dir ino %llu at offset %d: %s\n", mp->mnt_stat.f_mntonname, (unsigned long long)ip->i_number, offset, how); - if ((mp->mnt_stat.f_flag & MNT_RDONLY) == 0) + if ((mp->mnt_flag & MNT_RDONLY) == 0) panic("bad dir"); }
CVS commit: src/sys
Module Name:src Committed By: kamil Date: Sat Jul 11 10:32:46 UTC 2015 Modified Files: src/sys/arch/bebox/stand/boot: wdc.c src/sys/arch/cobalt/stand/boot: pciide.c src/sys/arch/ews4800mips/sbd: if_le_sbdio.c src/sys/arch/hpc/stand/hpcboot/menu: rootwindow.cpp src/sys/arch/hpcmips/tx: tx39icu.c src/sys/arch/hpcmips/vr: rtc.c src/sys/arch/hppa/hppa: machdep.c src/sys/arch/m68k/060sp/dist: ilsp.s isp.s src/sys/arch/mmeye/stand/boot: wdc.c src/sys/arch/rs6000/include: iplcb.h src/sys/arch/sgimips/dev: imcreg.h src/sys/arch/sparc64/dev: auxio.c auxioreg.h src/sys/arch/x68k/dev: fd.c src/sys/arch/x68k/stand/boot: ne.c src/sys/dev/marvell: gt.c src/sys/dev/pci: cxdtvreg.h czreg.h Log Message: Improve spelling: regsiter -> register This change is non-functional. Approved by , To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/arch/bebox/stand/boot/wdc.c cvs rdiff -u -r1.8 -r1.9 src/sys/arch/cobalt/stand/boot/pciide.c cvs rdiff -u -r1.7 -r1.8 src/sys/arch/ews4800mips/sbd/if_le_sbdio.c cvs rdiff -u -r1.22 -r1.23 src/sys/arch/hpc/stand/hpcboot/menu/rootwindow.cpp cvs rdiff -u -r1.34 -r1.35 src/sys/arch/hpcmips/tx/tx39icu.c cvs rdiff -u -r1.34 -r1.35 src/sys/arch/hpcmips/vr/rtc.c cvs rdiff -u -r1.4 -r1.5 src/sys/arch/hppa/hppa/machdep.c cvs rdiff -u -r1.1 -r1.2 src/sys/arch/m68k/060sp/dist/ilsp.s cvs rdiff -u -r1.2 -r1.3 src/sys/arch/m68k/060sp/dist/isp.s cvs rdiff -u -r1.1 -r1.2 src/sys/arch/mmeye/stand/boot/wdc.c cvs rdiff -u -r1.1 -r1.2 src/sys/arch/rs6000/include/iplcb.h cvs rdiff -u -r1.4 -r1.5 src/sys/arch/sgimips/dev/imcreg.h cvs rdiff -u -r1.22 -r1.23 src/sys/arch/sparc64/dev/auxio.c cvs rdiff -u -r1.7 -r1.8 src/sys/arch/sparc64/dev/auxioreg.h cvs rdiff -u -r1.117 -r1.118 src/sys/arch/x68k/dev/fd.c cvs rdiff -u -r1.2 -r1.3 src/sys/arch/x68k/stand/boot/ne.c cvs rdiff -u -r1.26 -r1.27 src/sys/dev/marvell/gt.c cvs rdiff -u -r1.2 -r1.3 src/sys/dev/pci/cxdtvreg.h src/sys/dev/pci/czreg.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/arch/bebox/stand/boot/wdc.c diff -u src/sys/arch/bebox/stand/boot/wdc.c:1.1 src/sys/arch/bebox/stand/boot/wdc.c:1.2 --- src/sys/arch/bebox/stand/boot/wdc.c:1.1 Thu Oct 14 06:50:43 2010 +++ src/sys/arch/bebox/stand/boot/wdc.c Sat Jul 11 10:32:45 2015 @@ -1,4 +1,4 @@ -/* $NetBSD: wdc.c,v 1.1 2010/10/14 06:50:43 kiyohara Exp $ */ +/* $NetBSD: wdc.c,v 1.2 2015/07/11 10:32:45 kamil Exp $ */ /*- * Copyright (c) 2003 The NetBSD Foundation, Inc. @@ -378,7 +378,7 @@ wdc_init(int addr) memset(&ch, 0, sizeof(ch)); - /* set up cmd/ctl regsiters */ + /* set up cmd/ctl registers */ tmp.c_cmdbase = addr; #define WDC_ISA_AUXREG_OFFSET 0x206 tmp.c_ctlbase = addr + WDC_ISA_AUXREG_OFFSET; Index: src/sys/arch/cobalt/stand/boot/pciide.c diff -u src/sys/arch/cobalt/stand/boot/pciide.c:1.8 src/sys/arch/cobalt/stand/boot/pciide.c:1.9 --- src/sys/arch/cobalt/stand/boot/pciide.c:1.8 Mon Apr 28 20:23:16 2008 +++ src/sys/arch/cobalt/stand/boot/pciide.c Sat Jul 11 10:32:45 2015 @@ -1,4 +1,4 @@ -/* $NetBSD: pciide.c,v 1.8 2008/04/28 20:23:16 martin Exp $ */ +/* $NetBSD: pciide.c,v 1.9 2015/07/11 10:32:45 kamil Exp $ */ /*- * Copyright (c) 2003 The NetBSD Foundation, Inc. @@ -59,7 +59,7 @@ pciide_init(struct wdc_channel *chp, u_i ctlreg = MIPS_PHYS_TO_KSEG1(COBALT_IO_SPACE_BASE + PCIIDE_COMPAT_CTL_BASE(compatchan)); - /* set up cmd regsiters */ + /* set up cmd registers */ chp->c_cmdbase = (uint8_t *)cmdreg; chp->c_data = (uint16_t *)(cmdreg + wd_data); for (i = 0; i < WDC_NPORTS; i++) Index: src/sys/arch/ews4800mips/sbd/if_le_sbdio.c diff -u src/sys/arch/ews4800mips/sbd/if_le_sbdio.c:1.7 src/sys/arch/ews4800mips/sbd/if_le_sbdio.c:1.8 --- src/sys/arch/ews4800mips/sbd/if_le_sbdio.c:1.7 Sat Oct 13 06:08:30 2012 +++ src/sys/arch/ews4800mips/sbd/if_le_sbdio.c Sat Jul 11 10:32:45 2015 @@ -1,4 +1,4 @@ -/* $NetBSD: if_le_sbdio.c,v 1.7 2012/10/13 06:08:30 tsutsui Exp $ */ +/* $NetBSD: if_le_sbdio.c,v 1.8 2015/07/11 10:32:45 kamil Exp $ */ /*- * Copyright (c) 1996, 2005 The NetBSD Foundation, Inc. @@ -30,7 +30,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: if_le_sbdio.c,v 1.7 2012/10/13 06:08:30 tsutsui Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_le_sbdio.c,v 1.8 2015/07/11 10:32:45 kamil Exp $"); #include "opt_inet.h" @@ -61,7 +61,7 @@ __KERNEL_RCSID(0, "$NetBSD: if_le_sbdio. #include #define LEREG1_RDP 0 /* offset to lance data register */ -#define LEREG1_RAP 6 /* offset to lance address regsiter */ +#define LEREG1_RAP 6 /* offset to lance address register */ #define LE_MEMSIZE (64 * 1024) struct le_sbdio_softc { Index: src/sys/arch/hpc/stand/hpcboot/menu/rootwindow.cpp diff -u src/sys/arch/hpc/stand/hpcboot/menu/rootwindow.cpp:1.22 src/sys/arch/hpc/stand/hpcboot/menu/rootwindow.cpp:1.23 --- src/sys/ar
CVS commit: src/sys
Module Name:src Committed By: kamil Date: Sat Jul 11 10:15:33 UTC 2015 Modified Files: src/sys/arch/amd64/amd64: genassym.cf src/sys/dev/pci/n8/common: n8_rn_common.h nsp2000_regs.h Log Message: Improve spelling: regsister -> register This change is non-functional. Approved by , To generate a diff of this commit: cvs rdiff -u -r1.56 -r1.57 src/sys/arch/amd64/amd64/genassym.cf cvs rdiff -u -r1.1 -r1.2 src/sys/dev/pci/n8/common/n8_rn_common.h \ src/sys/dev/pci/n8/common/nsp2000_regs.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/arch/amd64/amd64/genassym.cf diff -u src/sys/arch/amd64/amd64/genassym.cf:1.56 src/sys/arch/amd64/amd64/genassym.cf:1.57 --- src/sys/arch/amd64/amd64/genassym.cf:1.56 Thu Feb 20 18:19:09 2014 +++ src/sys/arch/amd64/amd64/genassym.cf Sat Jul 11 10:15:33 2015 @@ -1,4 +1,4 @@ -# $NetBSD: genassym.cf,v 1.56 2014/02/20 18:19:09 dsl Exp $ +# $NetBSD: genassym.cf,v 1.57 2015/07/11 10:15:33 kamil Exp $ # # Copyright (c) 1998, 2006, 2007, 2008 The NetBSD Foundation, Inc. @@ -218,7 +218,7 @@ define TF_SS offsetof(struct trapframe # Size of stack area needed for saving registers define TF_REGSIZE offsetof(struct trapframe, tf_trapno) -# Total size includes regsisters pushed by hardware +# Total size includes registers pushed by hardware define FRAMESIZE sizeof(struct trapframe) define CPU_INFO_SCRATCH offsetof(struct cpu_info, ci_scratch) Index: src/sys/dev/pci/n8/common/n8_rn_common.h diff -u src/sys/dev/pci/n8/common/n8_rn_common.h:1.1 src/sys/dev/pci/n8/common/n8_rn_common.h:1.2 --- src/sys/dev/pci/n8/common/n8_rn_common.h:1.1 Thu Oct 30 12:02:14 2008 +++ src/sys/dev/pci/n8/common/n8_rn_common.h Sat Jul 11 10:15:33 2015 @@ -131,7 +131,7 @@ typedef struct /* RNG REGISTERS - RNG Buffer - RNH REGISTERS */ -/* 64-bit regsisters in the RNG must be read/written using the Most */ +/* 64-bit registers in the RNG must be read/written using the Most */ /* Significant Word first, in order to access the full 64bit value. */ typedef struct @@ -189,4 +189,3 @@ typedef struct #endif - Index: src/sys/dev/pci/n8/common/nsp2000_regs.h diff -u src/sys/dev/pci/n8/common/nsp2000_regs.h:1.1 src/sys/dev/pci/n8/common/nsp2000_regs.h:1.2 --- src/sys/dev/pci/n8/common/nsp2000_regs.h:1.1 Thu Oct 30 12:02:14 2008 +++ src/sys/dev/pci/n8/common/nsp2000_regs.h Sat Jul 11 10:15:33 2015 @@ -159,7 +159,7 @@ typedef struct /* RNG REGISTERS - RNG Buffer - RNH REGISTERS */ - /* 64-bit regsisters in the RNG must be read/written using the Most */ + /* 64-bit registers in the RNG must be read/written using the Most */ /* Significant Word first, in order to access the full 64bit value. */ vuint32_t rng_reserved0; /* C000 */ vuint32_t rng_tod_seconds; /* C004 */ @@ -256,5 +256,3 @@ typedef struct #endif /* NSP2000_REGS_H */ - -
CVS commit: src/share/man/man7
Module Name:src Committed By: wiz Date: Sat Jul 11 09:55:21 UTC 2015 Modified Files: src/share/man/man7: sysctl.7 Log Message: Bump date for previous. To generate a diff of this commit: cvs rdiff -u -r1.88 -r1.89 src/share/man/man7/sysctl.7 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/man/man7/sysctl.7 diff -u src/share/man/man7/sysctl.7:1.88 src/share/man/man7/sysctl.7:1.89 --- src/share/man/man7/sysctl.7:1.88 Sat Jul 11 09:21:23 2015 +++ src/share/man/man7/sysctl.7 Sat Jul 11 09:55:21 2015 @@ -1,4 +1,4 @@ -.\" $NetBSD: sysctl.7,v 1.88 2015/07/11 09:21:23 kamil Exp $ +.\" $NetBSD: sysctl.7,v 1.89 2015/07/11 09:55:21 wiz Exp $ .\" .\" Copyright (c) 1993 .\" The Regents of the University of California. All rights reserved. @@ -29,7 +29,7 @@ .\" .\" @(#)sysctl.3 8.4 (Berkeley) 5/9/95 .\" -.Dd November 13, 2014 +.Dd July 11, 2015 .Dt SYSCTL 7 .Os .Sh NAME
CVS commit: src/share/man/man5
Module Name:src Committed By: wiz Date: Sat Jul 11 09:54:06 UTC 2015 Modified Files: src/share/man/man5: login.conf.5 Log Message: Bump date for previous. To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30 src/share/man/man5/login.conf.5 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/man/man5/login.conf.5 diff -u src/share/man/man5/login.conf.5:1.29 src/share/man/man5/login.conf.5:1.30 --- src/share/man/man5/login.conf.5:1.29 Sat Jul 11 09:21:23 2015 +++ src/share/man/man5/login.conf.5 Sat Jul 11 09:54:06 2015 @@ -1,4 +1,4 @@ -.\" $NetBSD: login.conf.5,v 1.29 2015/07/11 09:21:23 kamil Exp $ +.\" $NetBSD: login.conf.5,v 1.30 2015/07/11 09:54:06 wiz Exp $ .\" .\" Copyright (c) 1995,1996,1997 Berkeley Software Design, Inc. .\" All rights reserved. @@ -33,7 +33,7 @@ .\" .\" BSDI login.conf.5,v 2.19 1998/02/19 23:39:39 prb Exp .\" -.Dd June 29, 2013 +.Dd July 11, 2015 .Dt LOGIN.CONF 5 .Os .Sh NAME
CVS commit: src/sys/dev
Module Name:src Committed By: mlelstv Date: Sat Jul 11 09:45:16 UTC 2015 Modified Files: src/sys/dev: dksubr.c Log Message: Mark disklabel only invalid on the last close. Existing openers might see temporarily invalid data while it is re-read. To generate a diff of this commit: cvs rdiff -u -r1.63 -r1.64 src/sys/dev/dksubr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/dev/dksubr.c diff -u src/sys/dev/dksubr.c:1.63 src/sys/dev/dksubr.c:1.64 --- src/sys/dev/dksubr.c:1.63 Sat May 9 13:07:20 2015 +++ src/sys/dev/dksubr.c Sat Jul 11 09:45:16 2015 @@ -1,4 +1,4 @@ -/* $NetBSD: dksubr.c,v 1.63 2015/05/09 13:07:20 christos Exp $ */ +/* $NetBSD: dksubr.c,v 1.64 2015/07/11 09:45:16 mlelstv Exp $ */ /*- * Copyright (c) 1996, 1997, 1998, 1999, 2002, 2008 The NetBSD Foundation, Inc. @@ -30,7 +30,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: dksubr.c,v 1.63 2015/05/09 13:07:20 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: dksubr.c,v 1.64 2015/07/11 09:45:16 mlelstv Exp $"); #include #include @@ -194,11 +194,10 @@ dk_close(struct dk_softc *dksc, dev_t de if (dk->dk_openmask == 0) { if (dkd->d_lastclose != NULL) (*dkd->d_lastclose)(dksc->sc_dev); + if ((dksc->sc_flags & DKF_KLABEL) == 0) + dksc->sc_flags &= ~DKF_VLABEL; } - if ((dksc->sc_flags & DKF_KLABEL) == 0) - dksc->sc_flags &= ~DKF_VLABEL; - mutex_exit(&dk->dk_openlock); return 0; }
CVS commit: src
Module Name:src Committed By: kamil Date: Sat Jul 11 09:21:23 UTC 2015 Modified Files: src/lib/libutil: login_cap.c src/share/doc/psd/05.sysman: 1.6.t src/share/man/man5: login.conf.5 src/share/man/man7: sysctl.7 Log Message: Clean-up resources (sys/sys/resource.h) usage Add vmemoryuse to login_cap(3) Document vmemoryuse in login.conf(5) Document proc.pid.rlimit.vmemoryuse and proc.pid.rlimit.maxlwp in sysctl(7) Document SBSIZE, AS, VMEM and NTHR in share/doc/psd/05.sysman/1.6.t Reviewed by Approved by Tested by Dominik Bialy Closes PR xsrc/49912 To generate a diff of this commit: cvs rdiff -u -r1.31 -r1.32 src/lib/libutil/login_cap.c cvs rdiff -u -r1.5 -r1.6 src/share/doc/psd/05.sysman/1.6.t cvs rdiff -u -r1.28 -r1.29 src/share/man/man5/login.conf.5 cvs rdiff -u -r1.87 -r1.88 src/share/man/man7/sysctl.7 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/lib/libutil/login_cap.c diff -u src/lib/libutil/login_cap.c:1.31 src/lib/libutil/login_cap.c:1.32 --- src/lib/libutil/login_cap.c:1.31 Sat Jun 29 04:52:55 2013 +++ src/lib/libutil/login_cap.c Sat Jul 11 09:21:22 2015 @@ -1,4 +1,4 @@ -/* $NetBSD: login_cap.c,v 1.31 2013/06/29 04:52:55 yamt Exp $ */ +/* $NetBSD: login_cap.c,v 1.32 2015/07/11 09:21:22 kamil Exp $ */ /*- * Copyright (c) 1995,1997 Berkeley Software Design, Inc. All rights reserved. @@ -36,7 +36,7 @@ #include #if defined(LIBC_SCCS) && !defined(lint) -__RCSID("$NetBSD: login_cap.c,v 1.31 2013/06/29 04:52:55 yamt Exp $"); +__RCSID("$NetBSD: login_cap.c,v 1.32 2015/07/11 09:21:22 kamil Exp $"); #endif /* LIBC_SCCS and not lint */ #include @@ -424,6 +424,7 @@ static struct { { RLIMIT_NOFILE, R_CNUMB, "openfiles", }, { RLIMIT_CORE, R_CSIZE, "coredumpsize", }, { RLIMIT_SBSIZE, R_CSIZE, "sbsize", }, + { RLIMIT_AS, R_CSIZE, "vmemoryuse", }, { -1, 0, 0 } }; Index: src/share/doc/psd/05.sysman/1.6.t diff -u src/share/doc/psd/05.sysman/1.6.t:1.5 src/share/doc/psd/05.sysman/1.6.t:1.6 --- src/share/doc/psd/05.sysman/1.6.t:1.5 Sun Oct 6 05:45:19 2013 +++ src/share/doc/psd/05.sysman/1.6.t Sat Jul 11 09:21:23 2015 @@ -1,4 +1,4 @@ -.\" $NetBSD: 1.6.t,v 1.5 2013/10/06 05:45:19 dholland Exp $ +.\" $NetBSD: 1.6.t,v 1.6 2015/07/11 09:21:23 kamil Exp $ .\" .\" Copyright (c) 1983, 1993, 1994 .\" The Regents of the University of California. All rights reserved. @@ -133,6 +133,10 @@ RLIMIT_RSS /* resident set size */ RLIMIT_MEMLOCK /* locked-in-memory address space */ RLIMIT_NPROC /* number of processes */ RLIMIT_NOFILE /* number of open files */ +RLIMIT_SBSIZE /* maximum size of all socket buffers */ +RLIMIT_AS /* virtual process size (inclusive of mmap) */ +RLIMIT_VMEM /* alias of RLIMIT_AS */ +RLIMIT_NTHR /* number of threads */ .TE .DE .ne 1i Index: src/share/man/man5/login.conf.5 diff -u src/share/man/man5/login.conf.5:1.28 src/share/man/man5/login.conf.5:1.29 --- src/share/man/man5/login.conf.5:1.28 Sat Jun 29 08:14:31 2013 +++ src/share/man/man5/login.conf.5 Sat Jul 11 09:21:23 2015 @@ -1,4 +1,4 @@ -.\" $NetBSD: login.conf.5,v 1.28 2013/06/29 08:14:31 wiz Exp $ +.\" $NetBSD: login.conf.5,v 1.29 2015/07/11 09:21:23 kamil Exp $ .\" .\" Copyright (c) 1995,1996,1997 Berkeley Software Design, Inc. .\" All rights reserved. @@ -271,6 +271,10 @@ See .Xr umask 2 . .\" .sp +.It Sy vmemoryuse Ta size Ta "" Ta +Maximum virtual address space size in bytes. +.\" +.sp .It Sy welcome Ta file Ta Li /etc/motd Ta File containing welcome message. .Xr login 1 Index: src/share/man/man7/sysctl.7 diff -u src/share/man/man7/sysctl.7:1.87 src/share/man/man7/sysctl.7:1.88 --- src/share/man/man7/sysctl.7:1.87 Wed May 27 07:52:02 2015 +++ src/share/man/man7/sysctl.7 Sat Jul 11 09:21:23 2015 @@ -1,4 +1,4 @@ -.\" $NetBSD: sysctl.7,v 1.87 2015/05/27 07:52:02 matt Exp $ +.\" $NetBSD: sysctl.7,v 1.88 2015/07/11 09:21:23 kamil Exp $ .\" .\" Copyright (c) 1993 .\" The Regents of the University of California. All rights reserved. @@ -2049,6 +2049,12 @@ set by the and .Dv SO_SNDBUF options. +.It Li proc.pid.rlimit.vmemoryuse ( PROC_PID_LIMIT_AS ) +The maximum size (in bytes) which a process can obtain. +.It Li proc.pid.rlimit.maxlwp ( PROC_PID_LIMIT_NTHR ) +The maximum number of threads that cen be created and running at one time in +the process. +The first thread of each process is not counted against this. .El .Pp The fifth level name is one of
CVS commit: src/sys/compat/common
Module Name:src Committed By: njoly Date: Sat Jul 11 07:43:32 UTC 2015 Modified Files: src/sys/compat/common: if_43.c Log Message: Handle case where compat_ifioctl() is called with ocmd != cmd, as found in compat Linux. Do not crash by ensuring that oifr is correctly set. Fix crash reported by Robert Swindells on tech-kern@. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/sys/compat/common/if_43.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/compat/common/if_43.c diff -u src/sys/compat/common/if_43.c:1.10 src/sys/compat/common/if_43.c:1.11 --- src/sys/compat/common/if_43.c:1.10 Tue May 12 20:42:46 2015 +++ src/sys/compat/common/if_43.c Sat Jul 11 07:43:32 2015 @@ -1,4 +1,4 @@ -/* $NetBSD: if_43.c,v 1.10 2015/05/12 20:42:46 christos Exp $ */ +/* $NetBSD: if_43.c,v 1.11 2015/07/11 07:43:32 njoly Exp $ */ /* * Copyright (c) 1982, 1986, 1989, 1990, 1993 @@ -32,7 +32,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: if_43.c,v 1.10 2015/05/12 20:42:46 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_43.c,v 1.11 2015/07/11 07:43:32 njoly Exp $"); #if defined(_KERNEL_OPT) #include "opt_compat_netbsd.h" @@ -231,11 +231,11 @@ compat_ifioctl(struct socket *so, u_long */ if (cmd == ocmd) { cmd = compat_cvtcmd(ocmd); - if (cmd != ocmd) { - oifr = data; - data = ifr = &ifrb; - ifreqo2n(oifr, ifr); - } + } + if (cmd != ocmd) { + oifr = data; + data = ifr = &ifrb; + ifreqo2n(oifr, ifr); } switch (ocmd) {