Displaying 1 50 of 309,079 commits (0.023s)

FreeBSD — stable/10/sys/fs/pseudofs pseudofs_vncache.c

MFC r311815:
Forcibly remove the cached items from pseudofs vncache on module unload.

FreeBSD — stable/10/lib/libprocstat Versions.def Makefile

MFC r311781:
Use standard Versions.def for libprocstat.

FreeBSD — stable/10/lib/libprocstat Makefile

MFC r311780:
Use tab for indent.

FreeBSD — user/pho/stress2/misc kinfo3.sh kinfo.sh

Trim runtime. Cleanup script and code while here.

Sponsored by:        Dell EMC Isilon

FreeBSD — user/pho/stress2/misc posix_openpt2.sh

Added a new test.

Sponsored by:        Dell EMC Isilon
Delta File
+154 -0 user/pho/stress2/misc/posix_openpt2.sh
+154 -0 1 file

FreeBSD — user/pho/stress2/misc pty.sh posix_openpt.sh

Added some new tests.

Sponsored by:        Dell EMC Isilon

FreeBSD — user/pho/stress2/misc readdir.sh

Added timeout for NFS problems seen (not on FreeBSD HEAD).
Cleanup script and code while here

Sponsored by:        Dell EMC Isilon
Delta File
+15 -9 user/pho/stress2/misc/readdir.sh
+15 -9 1 file

FreeBSD — stable/11/usr.bin/netstat main.c

MFC r311769:

Fix rstat: symbol not in namelist from netstat

Sponsored by:        Multiplay
Delta File
+3 -3 stable/11/usr.bin/netstat/main.c
+3 -3 1 file

FreeBSD — stable/10/usr.bin/netstat main.c

MFC r311769:

Fix rstat: symbol not in namelist from netstat

Sponsored by:        Multiplay
Delta File
+3 -3 stable/10/usr.bin/netstat/main.c
+3 -3 1 file

FreeBSD — head/sys/kern uipc_socket.c kern_event.c, head/sys/sys event.h

Add kevent EVFILT_EMPTY for notification when a client has received all data
i.e. everything outstanding has been acked.

Reviewed by:        bz, gnn (previous version)
MFC after:        3 days
Sponsored by:        Limelight Networks
Differential Revision:        https://reviews.freebsd.org/D9150

FreeBSD — projects/netbsd-tests-upstream-01-2017/contrib/netbsd-tests/lib/libc/gen t_glob.c

Add GLOB_STAR #ifdef to testcases which require GLOB_STAR support

FreeBSD — projects/netbsd-tests-upstream-01-2017/contrib/netbsd-tests/lib/libc/gen/posix_spawn t_spawnattr.c

Remove sys/param.h

It was used for nitems, but I converted it to __arraycount later, and
is already pulled in by header pollution on FreeBSD as well as NetBSD
ala sys/cdefs.h

FreeBSD — projects/netbsd-tests-upstream-01-2017/contrib/netbsd-tests/lib/libc/db t_db.sh

Drop unnecessary diff rewriting dict(..) function

This is already being properly handled via ATF config require.files call

FreeBSD — stable/10/share/mk bsd.own.mk

MFC r312009:

Add license preamble for r286964; credit to asomers

While here, clean up trailing whitespace
Delta File
+18 -18 stable/10/share/mk/bsd.own.mk
+18 -18 1 file

FreeBSD — stable/11/usr.sbin/fstyp/tests fstyp_test.sh

MFC r312009:

Add license preamble for r286964; credit to asomers

While here, clean up trailing whitespace

FreeBSD — stable/10/usr.sbin/fstyp/tests fstyp_test.sh

MFC r312009:

Add license preamble for r286964; credit to asomers

While here, clean up trailing whitespace

FreeBSD — stable/10 Makefile.inc1, stable/10/secure/lib/libssh Makefile

MFC r311140:

Only bake krb5_config.h support in to ssh(3), etc if both MK_GSSAPI and
MK_KERBEROS_SUPPORT != no

This fixes the odd case where someone specified MK_GSSAPI=no and
MK_KERBEROS_SUPPORT=yes (which admittedly, probably doesn't make sense,
but the build system doesn't prevent this case today, and it didn't when
I filed the bug back in 2011 either).

PR:                159745

FreeBSD — stable/11 Makefile.inc1, stable/11/secure/lib/libssh Makefile

MFC r311140:

Only bake krb5_config.h support in to ssh(3), etc if both MK_GSSAPI and
MK_KERBEROS_SUPPORT != no

This fixes the odd case where someone specified MK_GSSAPI=no and
MK_KERBEROS_SUPPORT=yes (which admittedly, probably doesn't make sense,
but the build system doesn't prevent this case today, and it didn't when
I filed the bug back in 2011 either).

PR:                159745

FreeBSD — stable/11/contrib/bsnmp/snmpd trans_udp.c

MFC r310656,r311221:

r310656:

style(9): sort alignment in udp_recv(..)

r311221:

Initialize msg.msg_flags to 0

This mutes a valid coverity warning about it being uninitialized
when passed in to sendmsg(2).

CID:                1368202

FreeBSD — stable/10/contrib/bsnmp/snmpd trans_udp.c

MFC r310656,r311221:

r310656:

style(9): sort alignment in udp_recv(..)

r311221:

Initialize msg.msg_flags to 0

This mutes a valid coverity warning about it being uninitialized
when passed in to sendmsg(2).

CID:                1368202

FreeBSD — stable/10/contrib/bsnmp/snmpd trans_udp.c main.c

MFC r310655:

Fix bsnmpd sending/receiving with multi-homed configurations or INADDR_ANY used
as the listening address in snmpd_input(..)

Stash the IPv4 address of the receiver via the recv(..) callback and use it in
the send(..) callback for the transport by specifying IP_SENDSRCADDR for the
control message type.

Add sendmsg logic to the UDP transport's send(..) callback and use the
respective send(..) callback for the transport instead of calling sendto in
snmpd_input(..).

Obtained from:  Isilon OneFS (^/onefs/branches/BR_8_0_0_DEV at r507595)

FreeBSD — stable/11/contrib/bsnmp/snmp_mibII BEGEMOT-IP-MIB.txt

MFC r311742:

Add a REVISION section to track changes for the BEGEMOT-IP-MIB MIB file

There haven't been any changes to the MIB definition, so the REVISION
remains static at the version it was imported at

FreeBSD — stable/10/usr.sbin/bsnmpd/modules/snmp_atm BEGEMOT-ATM-FREEBSD-MIB.txt

MFC r311758:

Add a REVISION section to track changes for the BEGEMOT-ATM-FREEBSD-MIB MIB file

There haven't been any changes to the MIB definition, so the REVISION
remains static at the version it was imported at

FreeBSD — stable/11/usr.sbin/bsnmpd/modules/snmp_atm BEGEMOT-ATM-FREEBSD-MIB.txt

MFC r311758:

Add a REVISION section to track changes for the BEGEMOT-ATM-FREEBSD-MIB MIB file

There haven't been any changes to the MIB definition, so the REVISION
remains static at the version it was imported at

FreeBSD — stable/10/usr.sbin/bsnmpd/modules/snmp_hostres BEGEMOT-HOSTRES-MIB.txt, stable/10/usr.sbin/bsnmpd/modules/snmp_netgraph BEGEMOT-NETGRAPH.txt

MFC r311741,r311761:

r311741:

Add a REVISION section to track changes for the hostres module

There haven't been any changes to the MIB definition, so the REVISION remains
static at the version it was imported at

r311761:

Add a REVISION section to track changes for the BEGEMOT-NETGRAPH MIB file

This change also documents the modification harti made to a handful of
objects in r122758 (the max OCTET STRING width was increased from 15 to
31 octets)

FreeBSD — stable/11/usr.sbin/bsnmpd/modules/snmp_hostres BEGEMOT-HOSTRES-MIB.txt, stable/11/usr.sbin/bsnmpd/modules/snmp_netgraph BEGEMOT-NETGRAPH.txt

MFC r311741,r311761:

r311741:

Add a REVISION section to track changes for the hostres module

There haven't been any changes to the MIB definition, so the REVISION remains
static at the version it was imported at

r311761:

Add a REVISION section to track changes for the BEGEMOT-NETGRAPH MIB file

This change also documents the modification harti made to a handful of
objects in r122758 (the max OCTET STRING width was increased from 15 to
31 octets)

FreeBSD — stable/10/contrib/bsnmp/snmpd BEGEMOT-MIB.txt FOKUS-MIB.txt

MFC r311759,r311760:

r311759:

Add a REVISION section to track changes for the FOKUS-MIB MIB file

There haven't been any changes to the MIB definition, so the REVISION
remains static at the version it was imported at

r311760:

Add a REVISION section to track changes for the BEGEMOT-MIB MIB file

There haven't been any changes to the MIB definition, so the REVISION
remains static at the version it was imported at

FreeBSD — stable/11/contrib/bsnmp/snmpd BEGEMOT-MIB.txt FOKUS-MIB.txt

MFC r311759,r311760:

r311759:

Add a REVISION section to track changes for the FOKUS-MIB MIB file

There haven't been any changes to the MIB definition, so the REVISION
remains static at the version it was imported at

r311760:

Add a REVISION section to track changes for the BEGEMOT-MIB MIB file

There haven't been any changes to the MIB definition, so the REVISION
remains static at the version it was imported at

FreeBSD — stable/10/lib/libkvm kvm.h kvm_getswapinfo.3

MFC r311101:
libkvm - extend a bit the swap statistics field.

Change ksw_used and ksw_total to unsigned, which increases the maximum
total swap that can be displayed properly from ~8TB to ~16TB.

Obtained from:        DragonflyBSD (ecc2e461)

FreeBSD — stable/11/lib/libkvm kvm.h kvm_getswapinfo.3

MFC r311101:
libkvm - extend a bit the swap statistics field.

Change ksw_used and ksw_total to unsigned, which increases the maximum
total swap that can be displayed properly from ~8TB to ~16TB.

Obtained from:        DragonflyBSD (ecc2e461)

FreeBSD — head/sys/arm/arm trap-v4.c

Remove a bit of armv6 support that didn't get deleted when this file was
split from trap.c into trap-v4.c and trap-v6.c.
Delta File
+0 -4 head/sys/arm/arm/trap-v4.c
+0 -4 1 file

FreeBSD — head/share/man/man4 alc.4, head/sys/dev/alc if_alc.c if_alcreg.h

alc: Add Killer E2500 support

Reviewed by:        jhb, yongari
MFC after:        1 week
Sponsored by:        Microsoft
Differential Revision:        https://reviews.freebsd.org/D9058

FreeBSD — stable/11/sys/conf newvers.sh

newvers.sh: add options to eliminate kernel build metadata

MFC r310112, r310114, r310273, r310279

r310112: newvers.sh: add option to eliminate kernel build metadata

Build metadata (username, hostname, etc.) prevents the FreeBSD kernel
from building reproducibly. Add an option to disable inclusion of that
metadata but retain the release information and SVN/git VCS details.
See https://reproducible-builds.org/ for additional background.

r310114: newvers.sh: correct typo in comment

r310273: newvers.sh: add -R option to include metadata only for
         unmodified src tree

r310279: newvers.sh: consider as modified SVN mixed revision and other cases

The newvers -R option is intended to include build metadata (e.g. user,
host, time) if the build is from an unmodified VCS tree. For subversion
it considered a trailing 'M' as an indication of a modified tree, and
any other version string as modified.

Also include mixed revision checkouts (e.g. 123:126), switched (123S)
and partial (123P) working copies as modified: the revision number is
insufficient to uniquely determine which source was used for the build.
Delta File
+51 -5 stable/11/sys/conf/newvers.sh
+51 -5 1 file

FreeBSD — stable/11/sys/fs/pseudofs pseudofs_vncache.c

MFC r311815:
Forcibly remove the cached items from pseudofs vncache on module unload.

FreeBSD — stable/11/lib/libprocstat Versions.def Makefile

MFC r311781:
Use standard Versions.def for libprocstat.

FreeBSD — stable/11/lib/libprocstat Makefile

MFC r311780:
Use tab for indent.

FreeBSD — stable/10/sys/dev/sdhci sdhci.c sdhci.h

MFC r283263, r289359, r308187, r311660, r311693, r311727, r311797:

Raise the SDHCI timeout to 10 seconds and add a sysctl to allow changing
this value at runtime.

Add support for the BCM57765 card reader.

Toggle card insert/remove interrupt enable bits on events.

Add a new sdhci interface method, get_card_present().

Now that the PRESENT_STATE register is only used for the inhibit bits loop
in this function, sdhci_start_command(), eliminate the state variable and
restructure the loop to read the register just once at the top of the loop.

Add support for non-removable media, and a quirk to use polling to detect
card insert/remove events on controllers that don't implement the insert
and remove interrupts.

Add sdhci_handle_card_present_locked() that can be called from the interrupt
handler which already holds the mutex, and have sdhci_handle_card_present()
be just a tiny wrapper that does the locking for external callers.

FreeBSD — stable/11/sys/dev/sdhci sdhci.c sdhci.h

MFC r308187, r311660, r311693, r311727, r311797:

Toggle card insert/remove interrupt enable bits on events.

Add a new sdhci interface method, get_card_present().

Now that the PRESENT_STATE register is only used for the inhibit bits loop
in this function, sdhci_start_command(), eliminate the state variable and
restructure the loop to read the register just once at the top of the loop.

Add support for non-removable media, and a quirk to use polling to detect
card insert/remove events on controllers that don't implement the insert
and remove interrupts.

Add sdhci_handle_card_present_locked() that can be called from the interrupt
handler which already holds the mutex, and have sdhci_handle_card_present()
be just a tiny wrapper that does the locking for external callers.

FreeBSD — projects/netbsd-tests-upstream-01-2017/lib/libnetbsd/sys event.h

libnetbsd: add sys/event.h compat header

This adds in necessary sys/types.h pollution for uintptr_t used in
sys/event.h, which according to kqueue(2) on NetBSD isn't necessary.

FreeBSD — projects/netbsd-tests-upstream-01-2017/lib/libnetbsd/sys types.h

libnetbsd: add sys/types.h header which pollutes itself with sys/param.h to
pick up NBBY, etc

FreeBSD — projects/netbsd-tests-upstream-01-2017/lib/libnetbsd/sys wait.h

libnetbsd: add sys/wait.h compat header

This just defines wrusage to __wrusage for now (they're both structs).

FreeBSD — projects/netbsd-tests-upstream-01-2017/contrib/netbsd-tests/lib/libc/stdlib h_getopt.c h_getopt_long.c

Remove libutil.h #include on FreeBSD and instead favor stdio.h from libnetbsd

FreeBSD — projects/netbsd-tests-upstream-01-2017/lib/libnetbsd stdio.h util.h

libnetbsd: more portability fixes with stdio.h and util.h

- stdio.h needs to pull in stdio.h/util.h for fparseln, not util.h
- util.h needs to #include sys/types.h for flags_to_string, etc as
  flags_to_string uses u_long, which is typedef'ed in sys/types.h on
  FreeBSD

FreeBSD — head/sys/boot/efi/loader main.c

loader.efi: find_currdev() can leak memory

The find_currdev() is using variable "copy" to store the reference to trimmed
devpath pointer, if for some reason the efi_devpath_handle() fails, we will
leak this copy.

Also we can simplify the code there a bit.

Reviewed by:        allanjude
Approved by:        allanjude (mentor)
Differential Revision:        https://reviews.freebsd.org/D9191
Delta File
+5 -6 head/sys/boot/efi/loader/main.c
+5 -6 1 file

FreeBSD — head/sys/net80211 ieee80211.h

[net80211] add some more "is this XXX" macros for CTRL and DATA.

There's already a macro for MGT.
Delta File
+6 -0 head/sys/net80211/ieee80211.h
+6 -0 1 file

FreeBSD — head/sys/amd64/vmm vmm_host.h, head/sys/cam cam_compat.h cam_iosched.h

Fix a variety of cosmetic typos and misspellings

No functional change.

PR:                216096, 216097, 216098, 216101, 216102, 216106, 216109, 216110
Reported by:        Bulat <bltsrc at mail.ru>
Sponsored by:        Dell EMC Isilon

FreeBSD — head/sbin/camcontrol camcontrol.8 camcontrol.c, head/share/man/man4 scsi.4 iicbus.4

"Buses" is the preferred plural of "bus"

Replace archaic "busses" with modern form "buses."

Intentionally excluded:
* Old/random drivers I didn't recognize
  * Old hardware in general
* Use of "busses" in code as identifiers

No functional change.

http://grammarist.com/spelling/buses-busses/

PR:                216099
Reported by:        bltsrc at mail.ru
Sponsored by:        Dell EMC Isilon

FreeBSD — stable/11/sys/netipsec ipsec.c

MFC r311679:
  Add direction argument to ipsec_setspidx_inpcb() function.

  This function is used only by ipsec_getpolicybysock() to fill security
  policy index selector for locally generated packets (that have INPCB).
  The function incorrectly assumes that spidx is the same for both directions.
  Fix this by using new direction argument to specify correct INPCB security
  policy - sp_in or sp_out. There is no need to fill both policy indeces,
  because they are overwritten for each packet.
  This fixes security policy matching for outbound packets when user has
  specified TCP/UDP ports in the security policy upperspec.

  PR:                213869
Delta File
+10 -7 stable/11/sys/netipsec/ipsec.c
+10 -7 1 file

FreeBSD — head/sys/cam/ctl ctl_frontend_ioctl.c ctl_frontend_cam_sim.c

Add under-/overrun support to IOCTL and CAM SIM frontends.

MFC after:        1 week