Go to file
martin 746021a2fe Pull up following revision(s) (requested by msaitoh in ticket #672):
sys/dev/ic/tulip.c: revision 1.198
	sys/dev/pci/if_jme.c: revision 1.45
	sys/dev/pci/agp.c: revision 1.86
	sys/dev/pci/if_lii.c: revision 1.27
	sys/dev/acpi/thinkpad_acpi.c: revision 1.47
	sys/dev/scsipi/scsipi_base.c: revision 1.183
	sys/dev/ic/aic6915reg.h: revision 1.6

 Fix undefined behavior in thinkpad_mask_init(). Found by kUBSan.

 Use unsigned when initialize the transmit completion ring to avoid undefined
behavior. Found by kUBSan.

Avoid undefined behavior when setting multicast address. found by kUBSan.

 Use unsigned to avoid undefined behavior in agpattach(). Found by kUBSan.

 Avoid undefined behavior in jme_mii_write(). Found by kUBSan.

 Use unsigned to avoid undefined behavior in lii_setmulti().

 Use unsigned to avoid undefined behavior in scsipi_{get,put}_tag().

Found by kUBSan.
2020-01-31 11:17:32 +00:00
bin Pull up following revision(s) (requested by kre in ticket #582): 2019-12-26 20:16:47 +00:00
common Pull up following revision(s) (requested by riastradh in ticket #505): 2019-12-08 13:23:23 +00:00
compat make all lines look the same, and put one arch per line. 2019-06-13 21:17:54 +00:00
crypto Pull up the following revisions, requested by christos in ticket #660: 2020-01-27 07:21:37 +00:00
dist/pf - enlarge buffer to avoid snprintf() truncation 2019-02-03 10:48:46 +00:00
distrib Pull up following revision(s) (requested by martin in ticket #669): 2020-01-28 10:20:23 +00:00
doc Ticket #673. 2020-01-29 23:33:15 +00:00
etc Pull up following revision(s) (requested by sevan in ticket #539): 2019-12-11 14:13:40 +00:00
external Pull up the following, requested by roy in ticket # 661: 2020-01-28 09:48:33 +00:00
extsrc
games Pull up following revision(s) (requested by sevan in ticket #501): 2019-12-08 13:06:37 +00:00
include Pull up following revision(s) (requested by kre in ticket #531): 2019-12-09 16:05:04 +00:00
lib Pull up following revision(s) (requested by ad in ticket #647): 2020-01-26 10:55:16 +00:00
libexec Pull up following revision(s) (requested by uwe in ticket #535): 2019-12-09 16:14:10 +00:00
regress Eliminate regress/libexec/ld.elf_so/expand 2019-04-06 16:25:52 +00:00
rescue Pull up following revision(s) (requested by maya in ticket #435): 2019-11-17 07:04:33 +00:00
sbin Pull up following revision(s) (requested by roy in ticket #646): 2020-01-24 20:13:45 +00:00
share Pull up following revision(s) (requested by uwe in ticket #652): 2020-01-26 11:19:36 +00:00
sys Pull up following revision(s) (requested by msaitoh in ticket #672): 2020-01-31 11:17:32 +00:00
tests Pull up following revision(s) (requested by maxv in ticket #475): 2019-11-25 16:39:29 +00:00
tools Bring back two lines deleted by accident. From Kamil Rytarowski. 2019-06-22 14:40:33 +00:00
usr.bin Pull up following revision(s) (requested by sevan in ticket #642): 2020-01-23 10:09:01 +00:00
usr.sbin Pull up following revision(s) (requested by martin in ticket #673): 2020-01-29 23:31:30 +00:00
BUILDING Fix a typo 2019-05-08 14:03:57 +00:00
Makefile Pull up following revision(s) (requested by kamil in ticket #126): 2019-09-01 10:44:22 +00:00
Makefile.inc
README.md Tidy up a bit. 2018-10-23 15:44:42 +00:00
UPDATING Note update hickup build issue for uefi boot. 2019-07-27 07:55:18 +00:00
build.sh Fix long-term broken pattern match when determining if uname -p output is 2019-06-07 15:49:20 +00:00

README.md

NetBSD

NetBSD is a free, fast, secure, and highly portable Unix-like Open Source operating system. It is available for a wide range of platforms, from large-scale servers and powerful desktop systems to handheld and embedded devices.

Building

You can cross-build NetBSD from most UNIX-like operating systems. To build for amd64 (x86_64), in the src directory:

./build.sh -U -u -j4 -m amd64 -O ~/obj release

Additional build information available in the BUILDING file.

Binaries

Testing

On a running NetBSD system:

cd /usr/tests; atf-run | atf-report

Troubleshooting

Latest sources

To fetch the main CVS repository:

cvs -d anoncvs@anoncvs.NetBSD.org:/cvsroot checkout -P src

To work in the Git mirror, which is updated every few hours from CVS:

git clone https://github.com/NetBSD/src.git