| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
| |
This helps to the reduce code size for USB only use cases.
|
|
|
|
|
|
|
|
|
|
| |
Git mirror commit 19a6ceb89dbacf74697d493e48c388767126d418.
It includes an update of wpa_supplicant to version 2.7.
It includes an update of the OpenSSL baseline to version 1.1.1a.
Update #3472.
|
| |
|
| |
|
|
|
|
|
|
| |
Git mirror commit a18b0830c4be01b39489a891b63d6023ada6358a.
Update #3472.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Git mirror commit 59f44d20be3f99d181ca742e636d45fc39ec982b.
This commit updates OpenSSL to version 1.1.1. This required an update
of racoon which uses some internal stuff from OpenSSL and seems to be
mostly unmaintained, e.g. there is update in the FreeBSD ports to cope
with OpenSSL 1.1.1.
Update #3472.
|
|
|
|
|
|
|
|
|
| |
Some device drivers (e.g. MMC) need a complex intialization with working
callouts. Remove the dummy CONFIG_INTRHOOK() implementation and replace
it with the real one from FreeBSD. Make sure TIMEOUT(9) services work
at this point.
Update #3525.
|
|
|
|
|
|
| |
Git mirror commit 6c2192b1ef8c50788c751f878552526800b1e319.
Update #3472.
|
|
|
|
|
|
| |
Git mirror commit fb63610a69b0eb7f69a201ba05c4c1a7a2739cf9.
Update #3472.
|
|
|
|
|
|
| |
Git mirror commit 8dfb1ccc26d1cea7e2529303003ff61f9f1784c4.
Update #3472.
|
|
|
|
|
|
| |
Git mirror commit d079ae0442af8fa3cfd6d7ede190d04e64a2c0d4.
Update #3472.
|
|
|
|
|
|
| |
Git mirror commit e724f51f811a4b2bd29447f8b85ab5c2f9b88266.
Update #3472.
|
|
|
|
|
|
| |
Git mirror commit b2f0376b45428f13151d229c5ae9d4d8f74acbd1.
Update #3472.
|
|
|
|
|
|
| |
Git mirror commit f5002f5e5f78cae9f0269d812dc0aedb0339312c.
Update #3472.
|
|
|
|
|
|
| |
Git mirror commit dfb26efac4ce9101dda240e94d9ab53f80a9e131.
Update #3472.
|
|
|
|
|
|
|
| |
The number of callouts is a compile-time constant in libbsd. Use this
in struct callout_cpu and avoid dynamic allocation of tables. This
signficantly reduces the count of load instructions in the callout
handling.
|
|
|
|
|
| |
This is an optimization of the callout handling. In libbsd all callouts
are handled by the one and only timer server.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Changes correspond to FreeBSD commit:
"Make timespecadd(3) and friends public
The timespecadd(3) family of macros were imported from NetBSD back in
r35029. However, they were initially guarded by #ifdef _KERNEL. In the
meantime, we have grown at least 28 syscalls that use timespecs in some
way, leading many programs both inside and outside of the base system to
redefine those macros. It's better just to make the definitions public.
Our kernel currently defines two-argument versions of timespecadd and
timespecsub. NetBSD, OpenBSD, and FreeDesktop.org's libbsd, however, define
three-argument versions. Solaris also defines a three-argument version, but
only in its kernel. This revision changes our definition to match the
common three-argument version.
Bump _FreeBSD_version due to the breaking KPI change.
Discussed with: cem, jilles, ian, bde
Differential Revision: https://reviews.freebsd.org/D14725"
Update #3472.
|
|
|
|
|
| |
This flag supports the callout migration in FreeBSD. This feature is
not supported by libbsd.
|
|
|
|
|
| |
This flag is only used in combination with the callout expire list,
which we do not use in libbsd.
|
|
|
|
|
|
|
|
| |
FreeBSD has two callout executors, one in software and one in hardware
interrupt context. In libbsd, all callouts are executed by the timer
server. Entirely remove the different execution contexts for libbsd.
Previously, this was not properly done which could result an invalid
callout_drain() sequence leading to system memory corruption.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The getsockaddr() function is used to allocate a struct sockaddr of the
right length and initialize it with userspace provided data. It is used
for the connect(), bind() and sendit() family functions. In particular,
the sendit() function is used by the UDP send functions. This means
each UDP send needs a malloc() and free() invocation. This is a
performance problem in RTEMS (first-fit heap) and may lead to heap
fragmentation. Replace the malloc() allocation with a stack allocation.
This requires SOCK_MAXADDRLEN (= 255) of additional stack space for
libbsd.
A further optimization would be to get rid of the stack copy of the
socket address. However, this would require to check each consumer of
the address to ensure that it is not modified.
|
|
|
|
| |
Update #3264.
|
|
|
|
| |
Update #3132.
|
|
|
|
|
| |
Support was only partly disabled leading to NULL pointer accesses.
Disable it completely.
|
|
|
|
| |
Update #3132.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Update #3117.
Update #3182.
|
|
|
|
| |
Close #3132.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The following files are now provided by Newlib:
* arpa/inet.h
* net/if.h
* netinet/in.h
* netinet/tcp.h
* sys/socket.h
* sys/uio.h
* sys/un.h
The <sys/param.h> and <sys/cpuset.h> are now compatible enough to be
used directly.
Update #2833.
|
|
|
|
|
| |
Fix issue with cdev private data usage with RTEMS iop structure. Add
support for cdev alias device names. Add support for cdev fstat.
|
| |
|
| |
|
|
|
|
| |
Git mirror commit 642b174daddbd0efd9bb5f242c43f4ab4db6869f.
|
|
|
|
|
| |
Remove SOCK_CLOEXEC flag to get a valid socket type, e.g. to avoid a
EPROTOTYPE in case of socket(..., SOCK_DGRAM | SOCK_CLOEXEC, ...).
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
The FreeBSD kernel timeouts are always based on the uptime. Thus, we
have to use the relative watchdog. C_ABSOLUTE just means that the
timeout value is already an uptime value.
https://lists.freebsd.org/pipermail/freebsd-hackers/2017-February/050572.html
|
| |
|