Go to file
martin ac5c0db93c Pull up following revision(s) (requested by rin in ticket #1636):
sys/lib/libsa/subr_prf.c: revision 1.30

libsa/printf: Do not fetch long va_arg as long long.

This does real harm iff all of the following conditions are satisfied:
(1) On ILP32 architectures.
(2) Both LIBSA_PRINTF_LONGLONG_SUPPORT and LIBSA_PRINTF_WIDTH_SUPPORT
    compile-time options are enabled.
(3) Width field is used with 'l' modifier.

This is an implicit-fallthrough bug, but unfortunately, GCC 10.4 cannot
find this out somehow...
2023-06-03 14:35:18 +00:00
bin Pull up following revision(s) (requested by kre in ticket #1549): 2022-10-27 16:14:42 +00:00
common Pull up following revision(s) (requested by skrll in ticket #1567): 2023-01-19 10:37:03 +00:00
compat Apply patch, requested by mrg in ticket #1309 (no corresponding 2021-06-21 17:40:43 +00:00
crypto Pull up the following revisions, requested by kim in ticket #1608: 2023-02-24 14:07:45 +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 abs in ticket #1616): 2023-03-30 11:51:03 +00:00
doc Ticket #1634 2023-05-28 10:23:12 +00:00
etc Pull up following revision(s) (requested by riastradh in ticket #1604): 2023-02-22 19:30:50 +00:00
external Pull up following revision(s) (requested by lukem in ticket #1635): 2023-06-03 14:24:25 +00:00
extsrc
games Pull up following revision(s) (requested by sevan in ticket #969): 2020-06-21 10:39:58 +00:00
include Pull up following revision(s) (requested by wiz in ticket #1484): 2022-08-03 10:42:02 +00:00
lib Pull up following revision(s) (requested by mlelstv in ticket #1630): 2023-05-02 17:24:55 +00:00
libexec Pull up following revision(s) (requested by riastradh in ticket #1624): 2023-04-01 16:08:05 +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 hannken in ticket #1560): 2023-01-03 18:22:09 +00:00
share Pull up following revision(s) (requested by manu in ticket #1632): 2023-05-13 11:45:53 +00:00
sys Pull up following revision(s) (requested by rin in ticket #1636): 2023-06-03 14:35:18 +00:00
tests Pull up following revision(s) (requested by riastradh in ticket #1601): 2023-02-22 18:49:17 +00:00
tools Pull up following revision(s) (requested by mrg in ticket #1049): 2020-08-14 11:02:42 +00:00
usr.bin Pull up following revision(s) (requested by riastradh in ticket #1604): 2023-02-22 19:30:50 +00:00
usr.sbin Pull up following revision(s) (requested by tsutsui in ticket #1629): 2023-04-20 14:13:27 +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 Pull up the following revision (requested by martin in ticket #1611): 2023-03-13 21:38:13 +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