Christian Mauderer
a2bc8eba46
ipsec-tools/pfkey: Fix socket leak
...
setkey uses pfkey_open to open a socket. But setkey doesn't close the
socket.
The libipsec functions are used only by user space applications (setkey
and racoon). Adding the wrapper for socket makes sure that the opened
socket is registered and closes if the application exits.
Fixes #4404
2021-05-11 08:41:50 +02:00
Christian Mauderer
35bdef1fa0
ping6: Honor file descriptor maximum
...
This is basically the same as the patch for ping.
Fix #4361
2021-05-11 08:37:43 +02:00
Christian Mauderer
c385e86b3f
racoon/session: Honor file descriptor maximum
...
Dynamically allocate a big enough file descriptor set for select(). A
better solution would be to use kqueue() instead of select().
Update #4361
2021-05-11 08:37:32 +02:00
Moyano, Gabriel
ea5d0c7803
ehci_pci: Add to build system
...
Closes #4263
2021-03-08 18:25:01 +01:00
Moyano, Gabriel
b3cdf0ee13
ehci_pci: Import from freebsd-org
...
see #4263
2021-03-08 18:24:48 +01:00
Sebastian Huber
debc0aed8b
NVD(4): Fix logical block count calculation
...
Close #4165 .
2020-10-27 06:25:17 +01:00
Sebastian Huber
491666ad28
NVD(4): Fix NULL pointer access in nvd_sync()
...
Update #4165 .
2020-10-27 06:24:58 +01:00
Sebastian Huber
f283e7b261
mcast01: Fix write to read-only string
2020-10-27 06:21:07 +01:00
Christian Mauderer
9dd0bc27e3
Import FreeBSD license files.
...
Fix #4082
2020-09-28 13:41:25 +02:00
Christian Mauderer
5b3ee70279
builder.py: Add case for plain text files.
...
Update #4082
2020-09-28 13:41:25 +02:00
Christian Mauderer
640b2a03b8
Add helper script to find licenses.
...
Update #4082
2020-09-28 13:41:25 +02:00
Sebastian Huber
7f47f27841
mcast01: Add test program
...
Close #4073 .
2020-09-10 13:28:34 +02:00
Sebastian Huber
0099e16d9c
ifmcstat: Port to RTEMS
...
Update #4073 .
2020-09-10 13:28:31 +02:00
Sebastian Huber
0d979d6f53
ifmcstat: Import from FreeBSD
...
Update #4073 .
2020-09-10 13:28:16 +02:00
Sebastian Huber
80640fc843
nfsclient: Next attempt to fix 64-bit targets
...
In serporidok use the same structures used to hand over to the XDR
encode/decode routines. We must not mix packed and unpacked structures.
Close #4024 .
5.1-freebsd-12
2020-08-18 07:18:41 +02:00
Sebastian Huber
13421d0617
telnet: Use rtems_shell_dup_current_env()
...
Update #3859 .
2020-08-06 13:21:56 +02:00
Sebastian Huber
26866d2c1f
Fix linker errors with minimal build set
2020-07-08 10:21:20 +02:00
Sebastian Huber
36a19bfde4
build: Do not convert cflags to defines
...
This makes it possible to use module-specific C flags, for example to
instrument functions (-finstrument-functions).
2020-06-25 09:38:10 +02:00
Sebastian Huber
7d194e5f55
mDNSResponder: Port to RTEMS
...
Update #4010 .
2020-06-23 18:13:59 +02:00
Sebastian Huber
2cd95115ef
mDNSResponder: Update to v878.270.2
...
The sources can be obtained via:
https://opensource.apple.com/tarballs/mDNSResponder/mDNSResponder-878.270.2.tar.gz
Update #4010 .
2020-06-23 18:13:59 +02:00
Sebastian Huber
d58e81b8bc
mDNSResponder: Update to v878.260.1
...
The sources can be obtained via:
https://opensource.apple.com/tarballs/mDNSResponder/mDNSResponder-878.260.1.tar.gz
Update #4010 .
2020-06-23 18:13:59 +02:00
Sebastian Huber
d49a86298c
mDNSResponder: Update to v878.250.4
...
The sources can be obtained via:
https://opensource.apple.com/tarballs/mDNSResponder/mDNSResponder-878.250.4.tar.gz
Update #4010 .
2020-06-23 18:13:59 +02:00
Sebastian Huber
8aace47bba
mDNSResponder: Update to v878.240.1
...
The sources can be obtained via:
https://opensource.apple.com/tarballs/mDNSResponder/mDNSResponder-878.240.1.tar.gz
Update #4010 .
2020-06-23 18:13:59 +02:00
Sebastian Huber
a8a0ba93fa
mDNSResponder: Update to v878.230.2
...
The sources can be obtained via:
https://opensource.apple.com/tarballs/mDNSResponder/mDNSResponder-878.230.2.tar.gz
Update #4010 .
2020-06-23 18:13:59 +02:00
Sebastian Huber
c6d65faa42
mDNSResponder: Update to v878.200.35
...
The sources can be obtained via:
https://opensource.apple.com/tarballs/mDNSResponder/mDNSResponder-878.200.35.tar.gz
Update #4010 .
2020-06-23 18:13:59 +02:00
Sebastian Huber
0a1f82a346
mDNSResponder: Update to v878.70.2
...
The sources can be obtained via:
https://opensource.apple.com/tarballs/mDNSResponder/mDNSResponder-878.70.2.tar.gz
Update #4010 .
2020-06-23 18:13:59 +02:00
Sebastian Huber
79fabda817
mDNSResponder: Update to v878.50.17
...
The sources can be obtained via:
https://opensource.apple.com/tarballs/mDNSResponder/mDNSResponder-878.50.17.tar.gz
Update #4010 .
2020-06-23 18:13:59 +02:00
Sebastian Huber
a4a6523309
mDNSResponder: Back to mDNSResponder-878.30.4
...
Update #4010 .
2020-06-23 18:13:59 +02:00
Sebastian Huber
6ac77389a3
epoch01: Fix sporadic test failures
2020-06-23 14:10:44 +02:00
Christian Mauderer
d38dbbe18e
imx6_usbphy: Fix regulator (vbus-supply)
...
Update #3869 .
2020-04-20 09:20:09 +02:00
Christian Mauderer
318422720b
regulator: Disable FDT parts for non-FDT targets
2020-04-17 14:43:51 +02:00
Jan Sommer
a69293ca57
i386: Port to RTEMS
...
- Update imported files to compile rtems-libbsd for i386 based BSPs
- Mostly commenting out parts which create compile or link errors in
RTEMS, but aren't needed
2020-04-17 13:18:06 +02:00
Jan Sommer
dc86c55f51
i386: Delete old machine dependent files
...
- The files in the i386 directory have been moved to common x86 directories by FreeBSD:
- freebsd/sys/x86/x86/legacy.c
- freebsd/sys/x86/include/machine/legacyvar.h
- freebsd/sys/x86/include/machine/specialreg.h
- Add header files in rtemsbsd directory to direct compiler to new files
2020-04-17 13:15:51 +02:00
Jan Sommer
efe9b55393
iflib.c: Deactivate use of ifc_cpus
...
- cpusets and SMP are currently not supported in libbsd for RTEMS
- Disable the ifc_cpus context variable and replace its usage,
essentially hard-coding for cpu 0
2020-04-17 13:15:51 +02:00
Jan Sommer
fb5499af2f
Callout: Redefine callout_reset_on for rtems
...
- callout_reset_on takes a cpu which is ignored by the subsequent call
to callout_reset_sbt_on in RTEMS.
- The macro is redefined to discard the cpu argument directly which
enables uses of it with cpu-dependent variables (disabled in
RETMS) without further changes, e.g. in iflib.c.
2020-04-17 13:15:51 +02:00
Jan Sommer
079bdd3677
i386: Add missing files to build system
...
- Update FreeBSD files in libbsd.py to required by i386 based BSPs
- Some machine specific header files have moved to different directories
in FreeBSD
- Add missing files e1000 network driver (iflib*)
2020-04-17 13:15:50 +02:00
Jan Sommer
dbf72c205d
waf: Add path-mappings feature
...
- path-mappings allow to fix autogenerated include paths for some corner
cases of target platforms without the need to change the build system
- Currently used for i386 based bsps
2020-04-17 13:15:50 +02:00
Jan Sommer
ce5b52d575
i386: Add missing files from FreeBSD
...
- Files needed to make rtems-libbsd build again for i386
2020-04-17 13:15:50 +02:00
Christian Mauderer
592003fa3e
imx: Fix build for all other BSPs.
2020-04-16 10:51:48 +02:00
Christian Mauderer
b3da96ceb8
imx6_usbphy: Add regulator (vbus-supply).
...
Update #3869 .
2020-04-15 16:14:18 +02:00
Christian Mauderer
2eab5465f3
ehci_imx: Set/clear ENHOSTDISCONNECT in USB PHY.
...
This is not a nice solution but it should work on all chips. As soon as
FreeBSD has a nice solution via the USB PHY driver, this should be
replaced.
Update #3869 .
2020-04-15 16:14:18 +02:00
Christian Mauderer
c5455b03ed
ehci_imx: Add to build.
2020-04-15 16:14:18 +02:00
Christian Mauderer
4a2d99b4b0
ehci_imx: Port to RTEMS
...
Update #3869 .
2020-04-15 16:14:18 +02:00
Sebastian Huber
29eda67d54
ehci_imx: Import from FreeBSD
...
Update #3869 .
2020-04-15 16:14:18 +02:00
Christian Mauderer
113662dfaf
Add support for i.mx cache.
...
Update #3869 .
2020-04-14 16:39:21 +02:00
Christian Mauderer
24806eec09
regulator: Add to build.
...
Update #3869 .
2020-04-14 16:39:20 +02:00
Christian Mauderer
404ad60f5f
regulator: Import from FreeBSD.
...
Update #3869 .
2020-04-14 16:39:20 +02:00
Sebastian Huber
10aa08e580
imx gpio port
...
Update #3869 .
2020-04-14 16:39:20 +02:00
Christian Mauderer
3a1d48c70c
imx6_ccm: Add and build module.
...
Update #3869 .
2020-04-14 16:39:20 +02:00
Sebastian Huber
f88f7a02ad
imx6_ccm: Port to RTEMS
...
Update #3869 .
2020-04-14 16:39:20 +02:00