Displaying 1 50 of 5,287,426 commits (0.258s)

FreeBSD — head/sbin/pfctl parse.y

pfctl: Fix line numbers when \ is used inside ""

PR:                201520
Obtained from:        OpenBSD
MFC after:        2 weeks
Delta File
+3 -1 head/sbin/pfctl/parse.y
+3 -1 1 file

FreeBSD Ports — head/x11-drivers/xorgxrdp distinfo Makefile

x11-drivers/xorgxrdp: Update to 0.2.8

While here,
* Pet portlint
* Switch PORTVERSION to DISTVERSION

MFH:                https://github.com/neutrinolabs/xorgxrdp/releases/tag/v0.2.8
Differential Revision:        https://reviews.freebsd.org/D17327

FreeBSD — head/sys/dev/acpica acpi.c acpivar.h

acpi: Add an interface to obtain DSM information

The Device Specific Method (_DSM) is on optional object that defines
device specific controls. This will be useful for our power management
controller in upcoming patches. More information can be found in ACPI
spec 6.2 section 9.1.1

https://www.uefi.org/sites/default/files/resources/ACPI_6_2.pdf

This patch had a minor modification changing ENOMEM to AE_NO_MEMORY
after it got review and approval but before committing.

Test Plan: Tested in my s0ix branch

Reviewed by:        kib
Approved by:        emaste (mentor)
Differential Revision: https://reviews.freebsd.org/D17121

HardenedBSD — sys/dev/acpica acpi.c acpivar.h

acpi: Add an interface to obtain DSM information

The Device Specific Method (_DSM) is on optional object that defines
device specific controls. This will be useful for our power management
controller in upcoming patches. More information can be found in ACPI
spec 6.2 section 9.1.1

https://www.uefi.org/sites/default/files/resources/ACPI_6_2.pdf

This patch had a minor modification changing ENOMEM to AE_NO_MEMORY
after it got review and approval but before committing.

Test Plan: Tested in my s0ix branch

Reviewed by:        kib
Approved by:        emaste (mentor)
Differential Revision: https://reviews.freebsd.org/D17121
Delta File
+92 -0 sys/dev/acpica/acpi.c
+4 -0 sys/dev/acpica/acpivar.h
+96 -0 2 files

FreeBSD — head/sys/dev aha aic, head/sys/gnu/dts/include/dt-bindings genpd

Remove newly empty directories, plus a few ohters that have crept into
tree over time (most my fault).
Delta File
+0 -0 head/sys/modules/usb/at91dci/
+0 -0 head/sys/dev/aha/
+0 -0 head/sys/dev/aic/
+0 -0 head/sys/dev/buslogic/
+0 -0 head/sys/dev/dpt/
+0 -0 head/sys/dev/joy/
+0 -0 19 files not shown
+0 -0 25 files

HardenedBSD — sys/conf options, sys/dev/sym sym_hipd.c

Remove newly empty directories, plus a few ohters that have crept into
tree over time (most my fault).
∈ imp - 906b9eae - 2018-10-22 02:36:31
Remove the long obsolete SYM_SETUP_LP_PROBE_MAP option. It's not been
needed for almost 20 years, and is totally useless now that ncr(4) has
been removed.

Relnotes: yes
Delta File
+0 -5 sys/conf/options
+1 -2 sys/dev/sym/sym_hipd.c
+1 -7 2 files

HardenedBSD — share/man/man4 ncr.4 sym.4, sys/amd64/conf GENERIC

Remove the ncr(4) drive.

This driver has been obsolete since the FreeBSD 4.x. It should have
been removed then since the sym(4) driver had subsumed it. The driver
was commented out of GENERIC in 2000.

RelNotes: Yes
Delta File
+0 -7,118 sys/dev/ncr/ncr.c
+0 -574 sys/dev/ncr/ncrreg.h
+0 -82 share/man/man4/ncr.4
+0 -48 share/man/man4/sym.4
+0 -45 sys/dev/ncr/locate.pl
+0 -13 sys/conf/NOTES
+3 -25 8 files not shown
+3 -7,905 14 files

FreeBSD — head/sys/cam/scsi scsi_low.c scsi_low.h, head/sys/modules Makefile

Retire scsi_low

scsi_low was a common set of routines to do the SCSI bus sequencing
for the ncv, nsp and stg drivers. Those have been removed, so it's no
longer needed since nothing else in the tree uses it and nothing
likely ever will (it's for super-low-end 8-bit parallel SCSI cards).

HardenedBSD — sys/cam/scsi scsi_low.c scsi_low.h, sys/modules Makefile

Retire scsi_low

scsi_low was a common set of routines to do the SCSI bus sequencing
for the ncv, nsp and stg drivers. Those have been removed, so it's no
longer needed since nothing else in the tree uses it and nothing
likely ever will (it's for super-low-end 8-bit parallel SCSI cards).

HardenedBSD — share/man/man4 stg.4 Makefile, sys/amd64/conf NOTES

Remove stg(4) driver

stg(4) is marked as gone in 12. Remove it. There are no sightings of
it in the nycbug dmesg database. It was for an obscure SCSI card that
sold mostly in Japan, and was especially popilar among pc98 hackers in
the 4.x time frame. It was also only enabled on i386.

Relnote: Yes

FreeBSD — head/share/man/man4 stg.4 Makefile, head/sys/amd64/conf NOTES

Remove stg(4) driver

stg(4) is marked as gone in 12. Remove it. There are no sightings of
it in the nycbug dmesg database. It was for an obscure SCSI card that
sold mostly in Japan, and was especially popilar among pc98 hackers in
the 4.x time frame. It was also only enabled on i386.

Relnote: Yes

FreeBSD — head/share/man/man4 nsp.4 Makefile, head/sys/amd64/conf NOTES

Remove nsp(4) driver

nsp(4) is marked as gone in 12. Remove it. There are no sightings of
it in the nycbug dmesg database. It was for an obscure SCSI card that
sold mostly in Japan, and was especially popilar among pc98 hackers in
the 4.x time frame. It was also only enabled on i386.

Relnote: Yes

HardenedBSD — share/man/man4 nsp.4 Makefile, sys/amd64/conf NOTES

Remove nsp(4) driver

nsp(4) is marked as gone in 12. Remove it. There are no sightings of
it in the nycbug dmesg database. It was for an obscure SCSI card that
sold mostly in Japan, and was especially popilar among pc98 hackers in
the 4.x time frame. It was also only enabled on i386.

Relnote: Yes
Delta File
+0 -1,817 sys/dev/nsp/nsp.c
+0 -296 sys/dev/nsp/nsp_pccard.c
+0 -223 sys/dev/nsp/nspreg.h
+0 -98 share/man/man4/nsp.4
+0 -93 sys/dev/nsp/nspvar.h
+0 -10 sys/modules/nsp/Makefile
+1 -8 5 files not shown
+1 -2,545 11 files

FreeBSD — head/share/man/man4 ncv.4 Makefile, head/sys/amd64/conf NOTES

Remove ncv(4) driver

ncv(4) is marked as gone in 12. Remove it. There are no sightings of
it in the nycbug dmesg database. It was for an obscure SCSI card that
sold mostly in Japan, and was especially popilar among pc98 hackers in
the 4.x time frame..

Relnote: Yes

HardenedBSD — share/man/man4 ncv.4 Makefile, sys/amd64/conf NOTES

Remove ncv(4) driver

ncv(4) is marked as gone in 12. Remove it. There are no sightings of
it in the nycbug dmesg database. It was for an obscure SCSI card that
sold mostly in Japan, and was especially popilar among pc98 hackers in
the 4.x time frame..

Relnote: Yes

FreeBSD — head/share/man/man4 dpt.4 Makefile, head/sys/amd64/conf GENERIC

Retire dpt(4)

Marked as gone in 12 and not relevant since the early 90s. No
sightings in nycbug's dmesg database.

Relnotes: yes
Delta File
+0 -2,411 head/sys/dev/dpt/dpt_scsi.c
+0 -1,298 head/sys/dev/dpt/dpt.h
+0 -189 head/sys/dev/dpt/dpt_pci.c
+0 -109 head/share/man/man4/dpt.4
+0 -21 head/sys/conf/NOTES
+0 -14 head/sys/modules/dpt/Makefile
+0 -13 7 files not shown
+0 -4,055 13 files

HardenedBSD — share/man/man4 dpt.4 Makefile, sys/amd64/conf GENERIC

Retire dpt(4)

Marked as gone in 12 and not relevant since the early 90s. No
sightings in nycbug's dmesg database.

Relnotes: yes
Delta File
+0 -2,411 sys/dev/dpt/dpt_scsi.c
+0 -1,298 sys/dev/dpt/dpt.h
+0 -189 sys/dev/dpt/dpt_pci.c
+0 -109 share/man/man4/dpt.4
+0 -21 sys/conf/NOTES
+0 -14 sys/modules/dpt/Makefile
+0 -13 7 files not shown
+0 -4,055 13 files

FreeBSD — head/share/man/man4 scsi.4, head/sys/conf NOTES files

Remove bt(4) driver

The buslogic scsi driver has been tagged as gone in 12 for some time
now. Remove it. The nycbug dmesg database shows only one sighting in 6
for this driver. It was very popular in the early days of the project,
but that popularity seems to have died by 2004 when the nycbug
database started up.

Relnotes: yes

HardenedBSD — share/man/man4 scsi.4, sys/conf NOTES files

Remove bt(4) driver

The buslogic scsi driver has been tagged as gone in 12 for some time
now. Remove it. The nycbug dmesg database shows only one sighting in 6
for this driver. It was very popular in the early days of the project,
but that popularity seems to have died by 2004 when the nycbug
database started up.

Relnotes: yes
Delta File
+0 -2,376 sys/dev/buslogic/bt.c
+0 -694 sys/dev/buslogic/btreg.h
+0 -358 sys/dev/buslogic/bt_isa.c
+0 -221 sys/dev/buslogic/bt_pci.c
+0 -9 sys/conf/NOTES
+0 -3 sys/conf/files
+0 -4 3 files not shown
+0 -3,665 9 files

FreeBSD — head/share/man/man4 adv.4 adw.4, head/sys/conf NOTES files

Remove adv(4) and adw(4)

Remove the advanssy drivers (both adv and adw). They were tagged as
gone in 12 a while qgo. The nycbug dmesg database shows this was last
seen in 6 and there were only a few adv sightings then (none for adw).

Relnotes: yes

HardenedBSD — share/man/man4 adv.4 adw.4, sys/conf NOTES files

Remove adv(4) and adw(4)

Remove the advanssy drivers (both adv and adw). They were tagged as
gone in 12 a while qgo. The nycbug dmesg database shows this was last
seen in 6 and there were only a few adv sightings then (none for adw).

Relnotes: yes
Delta File
+0 -2,096 sys/dev/advansys/advlib.c
+0 -1,507 sys/dev/advansys/adwcam.c
+0 -1,406 sys/dev/advansys/advansys.c
+0 -995 sys/dev/advansys/adwmcode.c
+0 -899 sys/dev/advansys/adwlib.c
+0 -876 sys/dev/advansys/advlib.h
+2 -2,938 18 files not shown
+2 -10,717 24 files

FreeBSD — head/share/man/man4/man4.i386 aic.4 Makefile, head/sys/conf NOTES files

Remove aic(4) driver

aic was marked to be gone in 12 a while ago. Go ahead and remove it.
nycbug's dmesg database shows this was last seen in 6 and one more
time in 4.x. It never was popular, and what popularity it had was over
before the nycbug databse got going in 2004.

Relnotes: yes

HardenedBSD — share/man/man4/man4.i386 aic.4 Makefile, sys/conf NOTES files

Remove aic(4) driver

aic was marked to be gone in 12 a while ago. Go ahead and remove it.
nycbug's dmesg database shows this was last seen in 6 and one more
time in 4.x. It never was popular, and what popularity it had was over
before the nycbug databse got going in 2004.

Relnotes: yes
Delta File
+0 -1,601 sys/dev/aic/aic.c
+0 -337 sys/dev/aic/aic6360reg.h
+0 -245 sys/dev/aic/aic_isa.c
+0 -201 sys/dev/aic/aic_pccard.c
+0 -160 sys/dev/aic/aicvar.h
+0 -78 share/man/man4/man4.i386/aic.4
+1 -20 6 files not shown
+1 -2,642 12 files

HardenedBSD — share/man/man4 aha.4 adv.4, share/man/man4/man4.i386 aic.4

Remove aha(4) from the tree.

We tagged aha as gone in 12 a while ago. Proceed with its removal.
Data from nycbug's database shows the last sighting of this driver in
6, with the prior one in 4.x show its popularity had died prior to
4.x.

Relnotes: yes
Delta File
+0 -1,816 sys/dev/aha/aha.c
+0 -404 sys/dev/aha/ahareg.h
+0 -365 sys/dev/aha/aha_isa.c
+0 -122 share/man/man4/aha.4
+0 -9 sys/modules/aha/Makefile
+0 -3 sys/conf/NOTES
+0 -11 9 files not shown
+0 -2,730 15 files

FreeBSD — head/share/man/man4 aha.4 adv.4, head/share/man/man4/man4.i386 aic.4

Remove aha(4) from the tree.

We tagged aha as gone in 12 a while ago. Proceed with its removal.
Data from nycbug's database shows the last sighting of this driver in
6, with the prior one in 4.x show its popularity had died prior to
4.x.

Relnotes: yes

FreeBSD — head ObsoleteFiles.inc, head/share/man/man4 mouse.4 psm.4

Remove mse(4) from tree

Remove mse and all support for bus and inport devices from the tree.
Data from nycbug's dmesg database shows the last sighting of this
driver was in 4.10 on only one machine.

Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D17628

HardenedBSD — . ObsoleteFiles.inc, share/man/man4 mouse.4 psm.4

Remove mse(4) from tree

Remove mse and all support for bus and inport devices from the tree.
Data from nycbug's dmesg database shows the last sighting of this
driver was in 4.10 on only one machine.

Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D17628

FreeBSD — head ObsoleteFiles.inc, head/share/man/man4 joy.4 Makefile

Remove joy(4) driver.

This driver was marked as gone in 12. We're at 13 now. Remove it.
Data from nycbug's dmesg cache shows only one potential user,
suggesting it never was used much.

RelNotes: yes
Differential Revision: https://reviews.freebsd.org/D17629

HardenedBSD — . ObsoleteFiles.inc, share/man/man4 joy.4 Makefile

Remove joy(4) driver.

This driver was marked as gone in 12. We're at 13 now. Remove it.
Data from nycbug's dmesg cache shows only one potential user,
suggesting it never was used much.

RelNotes: yes
Differential Revision: https://reviews.freebsd.org/D17629
Delta File
+0 -251 sys/dev/joy/joy.c
+0 -119 share/man/man4/joy.4
+0 -88 sys/dev/joy/joy_isa.c
+0 -52 sys/sys/joystick.h
+0 -47 sys/dev/joy/joyvar.h
+0 -21 tools/kerneldoc/subsys/Doxyfile-dev_joy
+3 -16 6 files not shown
+3 -594 12 files

FreeBSD Ports — head/sysutils/desktop-installer distinfo Makefile

sysutils/desktop-installer: Fix battery monitor, install audio/lame

Approved by:    jrm (mentor)
Differential Revision:  https://reviews.freebsd.org/D17643

HardenedBSD — sys/amd64/conf GENERIC, sys/i386/conf GENERIC

Remove the gone_in(12) devices.

We're planning on removing adv, adw, aha, aic, bt, ncv, nsp, and stg
soon. They have been tagged for removal in 12. At least get them out
of GENERIC.

MFC after: 3 days
Relnotes: yes
Delta File
+0 -10 sys/i386/conf/GENERIC
+0 -5 sys/amd64/conf/GENERIC
+0 -15 2 files

FreeBSD — head/sys/amd64/conf GENERIC, head/sys/i386/conf GENERIC

Remove the gone_in(12) devices.

We're planning on removing adv, adw, aha, aic, bt, ncv, nsp, and stg
soon. They have been tagged for removal in 12. At least get them out
of GENERIC.

MFC after: 3 days
Relnotes: yes

FreeBSD — head/sys/crypto/chacha20 _chacha.h

Add explicit copyright text to trivial header

Reported by:        rgrimes

HardenedBSD — sys/crypto/chacha20 _chacha.h

Add explicit copyright text to trivial header

Reported by:        rgrimes
Delta File
+3 -0 sys/crypto/chacha20/_chacha.h
+3 -0 1 file

FreeBSD Ports — head/sysutils/auto-admin distinfo pkg-plist

sysutils/auto-admin: Improved support for desktop-installer, cluster-admin

Approved by:    jrm (mentor)
Differential Revision:  https://reviews.freebsd.org/D17638

FreeBSD — head/sys/powerpc/powerpc trap.c

powerpc: stash off srr0 in si_addr for signals

si_addr is the address of the instruction executing at the time the
signal was sent.  Populate this field with srr0, which, though not
always the case, is most often the instruction that triggered the fault.
Delta File
+1 -1 head/sys/powerpc/powerpc/trap.c
+1 -1 1 file

HardenedBSD — sys/powerpc/powerpc trap.c

powerpc: stash off srr0 in si_addr for signals

si_addr is the address of the instruction executing at the time the
signal was sent.  Populate this field with srr0, which, though not
always the case, is most often the instruction that triggered the fault.
Delta File
+1 -1 sys/powerpc/powerpc/trap.c
+1 -1 1 file

FreeBSD — head/sys/powerpc/booke pmap.c, head/sys/powerpc/include tlb.h

powerpc/booke: Turn tlb*_print_tlbentries() into 'show tlb*' DDB commands

debugf() is unnecessary for the TLB printing functions, as they're only
intended to be used from ddb.  Instead, make them full DDB 'show'
commands, so now it can be written as 'show tlb1' and 'show tlb0'
instead of calling the function, hoping DEBUG has been defined.

HardenedBSD — sys/powerpc/booke pmap.c, sys/powerpc/include tlb.h

powerpc/booke: Turn tlb*_print_tlbentries() into 'show tlb*' DDB commands

debugf() is unnecessary for the TLB printing functions, as they're only
intended to be used from ddb.  Instead, make them full DDB 'show'
commands, so now it can be written as 'show tlb1' and 'show tlb0'
instead of calling the function, hoping DEBUG has been defined.
Delta File
+110 -103 sys/powerpc/booke/pmap.c
+0 -4 sys/powerpc/include/tlb.h
+110 -107 2 files

LLVM — cfe/trunk/lib/StaticAnalyzer/Checkers/UninitializedObject UninitializedObjectChecker.cpp

[analyzer][UninitializedObjectChecker] No longer using nonloc::LazyCompoundVal

As rightly pointed out by @NoQ, nonloc::LazyCompoundVals were only used to acquire a 
constructed object's region, which isn't what LazyCompoundVal was made for.

Differential Revision: https://reviews.llvm.org/D51300

FreeBSD Ports — head/net/phpldapadmin Makefile

Delete extraneous backslash
Delta File
+1 -1 head/net/phpldapadmin/Makefile
+1 -1 1 file

FreeBSD Ports — head/net/phpldapadmin Makefile pkg-plist-chunk, head/net/phpldapadmin/files patch-lib__functions.php

Update files/patch-lib__functions.php to add php72 compatibility (1)

Hand over maintainership to submitter

Flavourize

Mark as ignored with php73

Use PLIST_FILES instead of pkg-plist-chunk.  Consequently, just
substitute in the value of ${WWWDIR_REL} directly, rather than playing
around with %%WWWDIR%% sed-tokens.

Swap around the ordering a bit to pacify portlint

PR:                232482
Submitted by:        ports at bsdserwis.com (1)

LLVM — cfe/trunk/www/analyzer alpha_checks.html available_checks.html

[analyzer][www] Update alpha_checks.html

I added some missing doc. I have not developed any of these checkers, it might worth 
really inspecting whether I wrote something terribly incorrect.

Differential Revision: https://reviews.llvm.org/D52969

FreeBSD Ports — head/www/firefox-esr/files patch-bug1474265

www/firefox-esr: drop unnecessary WAYLAND build fix since r482310

$ make patch
===>  Applying FreeBSD patches for firefox-esr-60.3.0,1
No such line 323 in input file, ignoring
Ignoring previously applied (or reversed) patch.
1 out of 1 hunks ignored--saving rejects to widget/xremoteclient/DBusRemoteClient.cpp.rej
=> FreeBSD patch patch-bug1474265 failed to apply cleanly.

PR:                1474265
Reported by:        pkg-fallout

FreeBSD Ports — head/databases/postgresql11-server Makefile, head/databases/postgresql11-server/files postgresql.in

Minor patch to fix the default data directory used on startup.

Submitted by:        Jonathan Chen
PR:                232487

LLVM — llvm/trunk/lib/Target/X86 X86InstrSSE.td X86InstrAVX512.td, llvm/trunk/test/CodeGen/X86 widened-broadcast.ll oddshuffles.ll

[X86] Stop promoting integer loads to vXi64

Summary:
Theoretically this was done to simplify the amount of isel patterns that were needed. But 
it also meant a substantial number of our isel patterns have to match an explicit bitcast. 
By making the vXi32/vXi16/vXi8 types legal for loads, DAG combiner should be able to 
change the load type to remove the bitcast.

I had to add some additional plain load instruction patterns and a few other special 
cases, but overall the isel table has reduced in size by ~12000 bytes. So it looks like 
this promotion was hurting us more than helping.

I still have one crash in vector-trunc.ll that I'm hoping @RKSimon can help with. It seems 
to relate to using getTargetConstantFromNode on a load that was shrunk due to an 
extract_subvector combine after the constant pool entry was created. So we end up decoding 
more mask elements than the load size.

I'm hoping this patch will simplify the number of patterns needed to remove the and/or/xor 
promotion.

Reviewers: RKSimon, spatel

Reviewed By: RKSimon

Subscribers: llvm-commits, RKSimon

    [2 lines not shown]

FreeBSD — head/sys/netinet ip_icmp.c

New sysctl: net.inet.icmp.error_keeptags

Currently, icmp_error() function copies FIB number from original packet
into generated ICMP response but not mbuf_tags(9) chain.
This prevents us from easily matching ICMP responses corresponding
to tagged original packets by means of packet filter such as ipfw(8).
For example, ICMP "time-exceeded in-transit" packets usually generated
in response to traceroute probes lose tags attached to original packets.

This change adds new sysctl net.inet.icmp.error_keeptags
that defaults to 0 to avoid extra overhead when this feature not needed.

Set net.inet.icmp.error_keeptags=1 to make icmp_error() copy mbuf_tags
from original packet to generated ICMP response.

PR:                215874
MFC after:        1 month
Delta File
+10 -0 head/sys/netinet/ip_icmp.c
+10 -0 1 file

HardenedBSD — sys/netinet ip_icmp.c

New sysctl: net.inet.icmp.error_keeptags

Currently, icmp_error() function copies FIB number from original packet
into generated ICMP response but not mbuf_tags(9) chain.
This prevents us from easily matching ICMP responses corresponding
to tagged original packets by means of packet filter such as ipfw(8).
For example, ICMP "time-exceeded in-transit" packets usually generated
in response to traceroute probes lose tags attached to original packets.

This change adds new sysctl net.inet.icmp.error_keeptags
that defaults to 0 to avoid extra overhead when this feature not needed.

Set net.inet.icmp.error_keeptags=1 to make icmp_error() copy mbuf_tags
from original packet to generated ICMP response.

PR:                215874
MFC after:        1 month
Delta File
+10 -0 sys/netinet/ip_icmp.c
+10 -0 1 file

NetBSD — . README.md

Add a README.md.

This document attempts to describe some commonly needed use-cases.
The build.sh command is opinionated but it's for the sake of having
a command that can be copied and probably works without needing to
inform the user about what various options do.

Discussed in tech-toolchain. I've added some links suggested by kamil
and switched to calling arm64 'aarch64' as requested by richard earnshaw.
Delta File
+48 -0 README.md
+48 -0 1 file

FreeBSD Ports — head/audio/midipp distinfo Makefile

Update midipp to 2.0.0

- Added support for quartertones, octotones, hexatones and so on.
- Added support for bass offset effect.
- Added support for circle of fifths.
- Improved support for printing.

Approved by:        jbeich (ports)