Author: ed
Date: Tue Feb 19 21:58:23 2019
New Revision: 344309
URL: https://svnweb.freebsd.org/changeset/base/344309
Log:
Place an upper bound on the number of iterations for REP.
Right now it's possible to invoke the REP escape sequence with a maximum
of tens of millions of iterations. I
Author: ed
Date: Tue Feb 19 21:49:48 2019
New Revision: 344308
URL: https://svnweb.freebsd.org/changeset/base/344308
Log:
Add missing __unused attributes to unused function arguments.
This fixes the userspace build of libteken.
Modified:
head/sys/teken/teken_subr.h
Modified: head/sys/te
) || defined(__aarch64__)
> +(defined(__arm__) && __ARM_ARCH >= 7) || defined(__aarch64__) || \
> +defined(__riscv)
> 1;
> #else
> 0;
Are we getting to the point that it might make sense to invert this
logic, i.e., just list
s was just the direct, conservative conversion of ttyprintf ->
> putchar. The checks can *probably* be removed.
If they can, then certain other parts of this change can be reverted
as well (e.g., the addition of cnputsn).
--
Ed Schouten
___
svn-s
return (-ENXIO);
> +}
Disclaimer: Long time since I did a lot with the TTY code.
Can kdb_active, tp == NULL and panicstr != NULL even occur in this
case? tty_info() can only get called in non-degenerate cases, right?
--
Ed Schouten
___
svn-src-head
Author: ed
Date: Sun Jul 8 10:08:24 2018
New Revision: 336086
URL: https://svnweb.freebsd.org/changeset/base/336086
Log:
Use the FQDN in the newsyslog log message when RFC 5424 is enabled.
The RFC 5424 spec mentions that logging FQDNs over short hostnames is
preferred. Alter this code, s
Author: ed
Date: Sat Jul 7 11:53:39 2018
New Revision: 336060
URL: https://svnweb.freebsd.org/changeset/base/336060
Log:
Allow the use of slashes in process names of RFC 3164 formatted messages.
Tools such as Postfix use slashes in process names for hierarchy
(postfix/qmgr). By allowing
Author: ed
Date: Mon Jul 2 11:02:27 2018
New Revision: 335862
URL: https://svnweb.freebsd.org/changeset/base/335862
Log:
Document that syslogd -v has no effect when RFC 5424 mode is enabled.
The variable it sets, LogFacPri, is only used in the RFC 3164 formatting
codepath.
PR:
Author: ed
Date: Mon Jul 2 10:57:22 2018
New Revision: 335861
URL: https://svnweb.freebsd.org/changeset/base/335861
Log:
Restore the order in which RFC 3164 messages with fac/pri are formatted.
The refactoring of the syslogd code to format messages using iovecs
slightly altered the outpu
ound literal:
static __inline void
EV_SET(struct kevent *kevp, ...)
{
struct kevent kev = {
// initializer goes here.
};
*kevp = kev;
}
This should even work with C89 compilers, assuming
provides some smartness for __inline.
--
Ed Schouten
Nuxi,
def EV_SET. */
#define EV_SET EV_SET
This has the advantage that you get pretty neat error messages in case
you get the typing of arguments wrong, as if you're just calling a
function incorrectly. The EV_SET() macro is never used in contexts
that require constant values.
--
Ed Schouten
79.pdf
+.Re
--
Ed Schouten
Nuxi, 's-Hertogenbosch, the Netherlands
___
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"
Author: ed
Date: Mon Jun 25 06:57:10 2018
New Revision: 335613
URL: https://svnweb.freebsd.org/changeset/base/335613
Log:
Fix spelling of "reclamation".
Modified:
head/share/man/man9/epoch.9
Modified: head/share/man/man9/epoch.9
===
Hi Matt,
2018-05-17 9:06 GMT+02:00 Ed Schouten :
> Hi Matt,
>
> 2018-05-14 1:16 GMT+02:00 Matt Macy :
>> +Epochs do not have any lock ordering issues. Entering and leaving
>
> It looks like the man page is missing some newlines between sentences.
>
> Quick question: H
Author: ed
Date: Fri Jun 22 20:53:39 2018
New Revision: 335565
URL: https://svnweb.freebsd.org/changeset/base/335565
Log:
Still parse messages that don't contain an RFC 3164 timestamp.
The changes made in r326573 required that messages always start with an
RFC 3164 timestamp. It looks lik
Author: ed
Date: Mon Jun 18 06:01:28 2018
New Revision: 335314
URL: https://svnweb.freebsd.org/changeset/base/335314
Log:
Fix bad logic in iovlist_truncate().
To conform to RFC 5426, this function is intended to truncate messages
if they exceed the message size limits. Unfortunately, the
ply how it's called:
https://vt100.net/docs/vt510-rm/DECSCUSR.html
I think the state machine generator doesn't mind if we added an extra
tab between all other entries to get it to line up again. Maybe that
does push us over 80 columns, though...
--
Ed Schouten
Nuxi,
te character^[ [ P n
So far I've been trying to be quite consistent in the naming here,
using the exact phrasing that is used elsewhere. Could you please use
"DECSCUSR" and "Set Cursor Style" here, just like on this page?
https://vt100
ere is any
relation, should we mention it in the documentation?
--
Ed Schouten
Nuxi, 's-Hertogenbosch, the Netherlands
___
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail
Author: ed
Date: Sun Apr 15 08:44:26 2018
New Revision: 332511
URL: https://svnweb.freebsd.org/changeset/base/332511
Log:
Use proper alphabetic sorting of options.
Modified:
head/usr.sbin/syslogd/syslogd.8
Modified: head/usr.sbin/syslogd/syslogd.8
Author: ed
Date: Sun Apr 15 08:34:16 2018
New Revision: 332510
URL: https://svnweb.freebsd.org/changeset/base/332510
Log:
Add RFC 5424 syslog message output to syslogd.
- Move all of the code responsible for transmitting log messages into a
separate function, fprintlog_write().
- Inst
Author: ed
Date: Sat Apr 7 09:03:51 2018
New Revision: 332165
URL: https://svnweb.freebsd.org/changeset/base/332165
Log:
Fix enough warnings that we can build syslogd on all targets at WARNS=6.
This also fixes the build on MIPS.
Reported by: cy (MIPS build failure)
Modified:
head/
Author: ed
Date: Fri Apr 6 17:16:50 2018
New Revision: 332118
URL: https://svnweb.freebsd.org/changeset/base/332118
Log:
Push RFC 5424 message format from logmsg() into fprintlog().
Now that all of parsemsg() parses both RFC 3164 and 5424 messages and
hands them to logmsg(), alter the la
Author: ed
Date: Fri Apr 6 16:26:46 2018
New Revision: 332111
URL: https://svnweb.freebsd.org/changeset/base/332111
Log:
Remove some places where error messages are prefixed with "syslogd".
Due to using RFC 5424, the application name is stored in a dedicated
field. It can simply be passe
Author: ed
Date: Fri Apr 6 16:24:03 2018
New Revision: 332110
URL: https://svnweb.freebsd.org/changeset/base/332110
Log:
Properly respect the passed in hostname for RFC 5424 messages.
Only override the hostname in case none is provided or when remote
hostnames should be ignored.
Modifie
Author: ed
Date: Fri Apr 6 13:00:45 2018
New Revision: 332100
URL: https://svnweb.freebsd.org/changeset/base/332100
Log:
Let syslog(3) use RFC 5424.
With r332099 changing syslogd(8) to parse RFC 5424 formatted syslog
messages, go ahead and also change the syslog(3) libc function to
gen
ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*/
+/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
+ * Copyright (c) 2018 Prodrive Technologies, https://prodrive-technologies.com/
+ * Author: Ed Schouten
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * mo
e to give prometheus_sysctl_exporter(8) a try if
you ever want to graph the characteristics of the controller!
--
Ed Schouten
Nuxi, 's-Hertogenbosch, the Netherlands
___
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
2018-01-27 23:31 GMT+01:00 Dimitry Andric :
> On 27 Jan 2018, at 23:20, Ed Schouten wrote:
>>
>> 2018-01-27 23:16 GMT+01:00 Pedro F. Giffuni :
>>>char host[sizeof(utmp.ut_host) + 1];
>>>insecure = 1;
>>>
>>> -
zeof(host));
Wait... This may access utmp.ut_host one byte past the end and no
longer guarantees that host is null-terminated, right?
--
Ed Schouten
Nuxi, 's-Hertogenbosch, the Netherlands
___
svn-src-head@freebsd.org mailing list
https://lists.freebsd.o
tatic void usage(void) __dead2;
This should be spelled:
[[noreturn]] static void usage();
--
Ed Schouten
Nuxi, 's-Hertogenbosch, the Netherlands
___
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To uns
a buffer that is accessed as an array,
as opposed to single structure.
--
Ed Schouten
Nuxi, 's-Hertogenbosch, the Netherlands
___
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any
Author: ed
Date: Sun Jan 7 22:38:45 2018
New Revision: 327684
URL: https://svnweb.freebsd.org/changeset/base/327684
Log:
Use mallocarray(9) in CloudABI kernel code where possible.
Submitted by: pfg@
Modified:
head/sys/compat/cloudabi32/cloudabi32_sock.c
head/sys/compat/cloudabi64/clou
Author: ed
Date: Thu Jan 4 21:57:37 2018
New Revision: 327560
URL: https://svnweb.freebsd.org/changeset/base/327560
Log:
Allow timed waits with relative timeouts on locks and condvars.
Even though pthreads doesn't support this, there are various alternative
APIs that use this. For exampl
Author: ed
Date: Thu Dec 21 09:21:40 2017
New Revision: 327057
URL: https://svnweb.freebsd.org/changeset/base/327057
Log:
Make truss work for CloudABI executables on i386.
The system call convention is different from i386 binaries running on
FreeBSD/amd64, but this is not noticeable by ex
Author: ed
Date: Wed Dec 20 13:13:10 2017
New Revision: 327022
URL: https://svnweb.freebsd.org/changeset/base/327022
Log:
Make truss(8) work for 32-bit CloudABI executables on ARM64.
This change effectively merges the existing 64-bit support for ARM64
with the 32-on-64-bit support for AMD
Author: ed
Date: Sat Dec 16 19:40:28 2017
New Revision: 326911
URL: https://svnweb.freebsd.org/changeset/base/326911
Log:
Make truss(8) work for i686-unknown-cloudabi binaries on FreeBSD/amd64.
This change copies the existing amd64_cloudabi64.c to amd64_cloudabi32.c
and reimplements the f
Author: ed
Date: Sat Dec 16 19:37:55 2017
New Revision: 326910
URL: https://svnweb.freebsd.org/changeset/base/326910
Log:
libsysdecode: Add a new ABI type, SYSDECODE_ABI_CLOUDABI32.
In order to let truss(8) support tracing of 32-bit CloudABI
applications, we need to add a new ABI type to
Author: ed
Date: Fri Dec 8 22:06:18 2017
New Revision: 326719
URL: https://svnweb.freebsd.org/changeset/base/326719
Log:
Remove basename_r(3).
Now that the POSIX working group is going to require that basename(3)
and dirname(3) are thread-safe in future revisions of the standard,
there
2017-12-05 6:02 GMT+01:00 Cy Schubert :
> +OLD_FILES+=usr/share/man/man8/fdformat.1.gz
s/man8/man1/, right? :-)
--
Ed Schouten
Nuxi, 's-Hertogenbosch, the Netherlands
___
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org
quot; and the 2013 and 2016 editions
being 7.1 and 7.2, respectively.
In the meantime, the POSIX folks are working on the 8th version of the
standard. This is where some of the larger changes/additions may be
done.
--
Ed Schouten
Nuxi, 's-Hertoge
//pubs.opengroup.org/onlinepubs/9699919799.2013edition/
But look at the top of the 2016 edition instead:
http://pubs.opengroup.org/onlinepubs/9699919799.2016edition/
--
Ed Schouten
Nuxi, 's-Hertogenbosch, the Netherlands
___
svn-src-head@freebsd.org mailing li
Author: ed
Date: Sun Dec 3 19:26:14 2017
New Revision: 326501
URL: https://svnweb.freebsd.org/changeset/base/326501
Log:
Make COMPAT_FREEBSD32 part of GENERIC on arm64.
The cloudabi32.ko kernel modules can only be loaded on AMD64 and ARM64
by kernels built with COMPAT_FREEBSD32. Even tho
Author: ed
Date: Fri Dec 1 10:25:52 2017
New Revision: 326423
URL: https://svnweb.freebsd.org/changeset/base/326423
Log:
Eliminate the last user of basename_r() in the base system.
In this case it's fairly easy to make use of basename().
Modified:
head/lib/libproc/tests/proc_test.c
Mod
Author: ed
Date: Fri Dec 1 05:57:05 2017
New Revision: 326420
URL: https://svnweb.freebsd.org/changeset/base/326420
Log:
Add an mlink for cloudabi32(4).
We already provide this for cloudabi64(4), so not adding it for
cloudabi32(4) is fairly inconsistent.
MFC after:1 week
Modifi
Author: ed
Date: Thu Nov 30 17:58:48 2017
New Revision: 326406
URL: https://svnweb.freebsd.org/changeset/base/326406
Log:
Port cloudabi32.ko to FreeBSD/arm64.
This change adds an implementation of a sysent for running CloudABI
armv6 and armv7 binaries on FreeBSD/arm64. It is a somewhat li
n this
case we should also ask Keith Muller, right...?
--
Ed Schouten
Nuxi, 's-Hertogenbosch, the Netherlands
___
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to &qu
Author: ed
Date: Sun Nov 26 14:56:23 2017
New Revision: 326230
URL: https://svnweb.freebsd.org/changeset/base/326230
Log:
Add a Saved Process Status Register bit for AArch32 execution mode.
The documentation on the Saved Process Status Register (SPSR) is a bit
weird; the M[4] bit is docum
Author: ed
Date: Sun Nov 26 14:53:56 2017
New Revision: 326229
URL: https://svnweb.freebsd.org/changeset/base/326229
Log:
Correct some more places where TO_PTR() should be used.
These were missed in r326228.
MFC after:2 weeks
Modified:
head/sys/arm/cloudabi32/cloudabi32_sysvec.c
Author: ed
Date: Sun Nov 26 14:45:56 2017
New Revision: 326228
URL: https://svnweb.freebsd.org/changeset/base/326228
Log:
Use TO_PTR() to convert integers to pointers.
For FreeBSD/arm64's cloudabi32 support, I'm going to need a TO_PTR() in
this place. Also use it for all of the other sour
Author: ed
Date: Sun Nov 26 14:28:27 2017
New Revision: 326227
URL: https://svnweb.freebsd.org/changeset/base/326227
Log:
Make 32-bit system calls end up in svc_handler().
The nice thing about ARM64 is that it's pretty elegant to install
separate trap/exception handlers for 32-bit and 64-
Author: ed
Date: Fri Nov 24 14:02:32 2017
New Revision: 326167
URL: https://svnweb.freebsd.org/changeset/base/326167
Log:
Pick the right vDSO file/linker flags when building cloudabi32.ko on ARM64.
The recently imported cloudabi_vdso_armv6_on_64bit.S should be the vDSO
for 32-bit processe
Author: ed
Date: Fri Nov 24 13:51:59 2017
New Revision: 326166
URL: https://svnweb.freebsd.org/changeset/base/326166
Log:
Set CP15BEN in SCTLR to make memory barriers work in 32-bit mode.
Binaries generated by Clang for ARMv6 may contain these instructions:
MCR p15, 0, , c7, c10, 5
Author: ed
Date: Fri Nov 24 13:50:53 2017
New Revision: 326165
URL: https://svnweb.freebsd.org/changeset/base/326165
Log:
Add rudimentary support for building FreeBSD/arm64 with COMPAT_FREEBSD32.
Right now I'm using two Raspberry Pi's (2 and 3) to test CloudABI
support for armv6, armv7 an
Author: ed
Date: Fri Nov 24 07:35:08 2017
New Revision: 326145
URL: https://svnweb.freebsd.org/changeset/base/326145
Log:
Don't let cpu_set_syscall_retval() clobber exec_setregs().
Upon successful completion, the execve() system call invokes
exec_setregs() to initialize the registers of t
Author: ed
Date: Tue Nov 21 20:46:21 2017
New Revision: 326075
URL: https://svnweb.freebsd.org/changeset/base/326075
Log:
Import the latest CloudABI definitions, v0.18.
In addition to some small style fixes to the ARMv6 vDSO, this release
includes a new vDSO that can be used for the execu
Author: ed
Date: Wed Nov 8 14:21:52 2017
New Revision: 32
URL: https://svnweb.freebsd.org/changeset/base/32
Log:
Upgrade to CloudABI v0.17.
Compared to the previous version, v0.16, there are a couple of minor
changes:
- CLOUDABI_AT_PID: Process identifiers for CloudABI proce
Author: ed
Date: Wed Oct 18 19:22:53 2017
New Revision: 324727
URL: https://svnweb.freebsd.org/changeset/base/324727
Log:
Import the latest CloudABI definitions, version 0.16.
The most important change in this release is the removal of the
poll_fd() system call; CloudABI's equivalent of k
2017-09-27 19:46 GMT+02:00 David C Somayajulu :
> + *(hw_tx_cntxt->tx_cons) = 0;
In this case the parentheses are superfluous, right? -> has a higher
precedence than *.
--
Ed Schouten
Nuxi, 's-Hertogenbosch, the Netherlands
__
ld in theory be possible to reimplement
our streaming sockets and pipes with something as simple and fast as
FreeBSD's pipes, but still support file descriptor passing, etc.
--
Ed Schouten
Nuxi, 's-Hertogenbosch, the Netherlands
___
svn-sr
Author: ed
Date: Tue Sep 5 07:46:45 2017
New Revision: 323177
URL: https://svnweb.freebsd.org/changeset/base/323177
Log:
Merge pipes and socket pairs.
Now that CloudABI's sockets API has been changed to be addressless and
only connected socket instances are used (e.g., socket pairs), the
Author: ed
Date: Wed Aug 30 07:30:06 2017
New Revision: 323015
URL: https://svnweb.freebsd.org/changeset/base/323015
Log:
Complete the CloudABI networking refactoring.
Now that all of the packaged software has been adjusted to either use
Flower (https://github.com/NuxiNL/flower) for makin
erfect! I've committed this change as r322965. Thanks for testing!
--
Ed Schouten
Nuxi, 's-Hertogenbosch, the Netherlands
KvK-nr.: 62051717
___
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To u
Author: ed
Date: Mon Aug 28 09:35:17 2017
New Revision: 322965
URL: https://svnweb.freebsd.org/changeset/base/322965
Log:
Make _Static_assert() work with GCC in older C++ standards.
GCC only activates C11 keywords in C mode, not C++ mode. This means
that when targeting an older C++ standa
Mark,
2017-08-25 14:53 GMT+02:00 Ed Schouten :
> 2017-08-25 9:46 GMT+02:00 Mark Millard :
>> It appears that at least 11.1-STABLE -r322807 does not handle
>> -std=c++98 styles of use of _Static_assert for g++7 in that
>> g++7 reports an error:
>
> Maybe we nee
removes layers from the top if they only have a single
child. Question: is it possible/likely to have CPU topologies where
one of the middle layers only has one child? If so, would it make
sense to use tree traversal here to do the flattening?
--
Ed Schouten
Nuxi, 's-Hertogenbosch
__GNUC_PREREQ__(4,6)
+#elif __GNUC_PREREQ__(4,6) && !defined(__cplusplus)
/* Nothing, gcc 4.6 and higher has _Static_assert built-in */
#elif defined(__COUNTER__)
#define _Static_assert(x, y) __Static_assert(x, __COUNTER__)
--
Ed Schouten
Nuxi, 's-Hertogenbosch,
Author: ed
Date: Fri Aug 25 12:28:34 2017
New Revision: 322888
URL: https://svnweb.freebsd.org/changeset/base/322888
Log:
Make entries for the United States more consistent.
MFC after:1 week
Modified:
head/usr.bin/calendar/calendars/calendar.freebsd
Modified: head/usr.bin/calendar/c
Author: ed
Date: Fri Aug 25 11:01:39 2017
New Revision: 322885
URL: https://svnweb.freebsd.org/changeset/base/322885
Log:
Sync CloudABI compatibility against the latest upstream version (v0.13).
With Flower (CloudABI's network connection daemon) becoming more
complete, there is no longer
et it right, in my opinion.
We should just extend to define _Static_assert() when
using GCC in C++ mode (if we're not doing so already).
--
Ed Schouten
Nuxi, 's-Hertogenbosch, the Netherlands
KvK-nr.: 62051717
___
svn-src-head@freebsd.org
fmt_orig);
> }
This makes printf() return the number of characters from the format
processed, right? This is different from libc's printf(), which
returns the number of characters printed.
--
Ed Schouten
Nuxi, 's-Hertogenbosch, the Netherlands
KvK-nr.: 62051717
__
Author: ed
Date: Wed Aug 2 13:08:10 2017
New Revision: 321924
URL: https://svnweb.freebsd.org/changeset/base/321924
Log:
Keep top page on CloudABI to work around AMD Ryzen stability issues.
Similar to r321899, reduce sv_maxuser by one page inside of CloudABI.
This ensures that the stack,
Author: ed
Date: Sat Jul 29 08:35:07 2017
New Revision: 321678
URL: https://svnweb.freebsd.org/changeset/base/321678
Log:
Be a bit more liberal about sysctl naming.
On the systems on which I tested this exporter, I never ran into metrics
that were named in such a way that they couldn't be
Author: ed
Date: Wed Jul 26 06:57:15 2017
New Revision: 321514
URL: https://svnweb.freebsd.org/changeset/base/321514
Log:
Upgrade to the latest sources generated from the CloudABI specification.
The CloudABI specification has had some minor changes over the last half
year. No substantial
Hi there,
2017-07-03 12:24 GMT+02:00 Dmitry Chagin :
> + .compat_3_brand = "Linux",
I suspect that you can safely remove this line. It's only intended to
match a field in ELF headers that is/was BSD specific.
--
Ed Schouten
Nuxi, 's-Hertogenbosch, the Nether
2017-06-27 13:17 GMT+02:00 Jan Beich :
> False alarm. Sorry.
No problem. Thanks for bringing it to my attention, regardless! \o/
--
Ed Schouten
Nuxi, 's-Hertogenbosch, the Netherlands
KvK-nr.: 62051717
___
svn-src-head@freebsd.org mailing li
tps://lists.freebsd.org/pipermail/freebsd-pkg-fallout/Week-of-Mon-20170626/493679.html
Would there be an easy way for me to extract a list of ports that are affected?
--
Ed Schouten
Nuxi, 's-Hertogenbosch, the Netherlands
KvK-nr.: 62051717
___
svn-
it make sense to print diagnostics here?
--
Ed Schouten
Nuxi, 's-Hertogenbosch, the Netherlands
KvK-nr.: 62051717
___
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any ma
Author: ed
Date: Thu Jun 22 18:39:52 2017
New Revision: 320240
URL: https://svnweb.freebsd.org/changeset/base/320240
Log:
Use __ISO_C_VISIBLE, as opposed to testing __STDC_VERSION__.
FreeBSD's C library uses __STDC_VERSION__ to determine whether the
compiler provides language features spe
2017-06-13 14:35 GMT+02:00 Pietro Cerutti :
> + while (write(STDOUT_FILENO, exp, explen) > 0)
> + ;
How does this deal with partial writes?
--
Ed Schouten
Nuxi, 's-Hertogenbosch, the Netherlands
KvK-nr.: 62051717
__
to double,
right?
> +.It Dv BYTE_ORDER Ta Either Dv BIG_ENDIAN or Dv LITTLE_ENDIAN .
> +.Dv PDP11_ENDIAN is not used on FreeBSD.
Would it make more sense to describe GCC/Clang's officially documented
endianness macros here?
__BYTE_ORDER__
__ORDER_LITTLE_ENDIAN__
__ORDER_BIG_ENDIAN__
_
this case the code could be abbreviated by simply using assignment, right?
tent->k.addr6 = xn->addr6.sin6_addr;
--
Ed Schouten
Nuxi, 's-Hertogenbosch, the Netherlands
KvK-nr.: 62051717
___
svn-src-head@freebsd.org mailing list
https:/
Author: ed
Date: Fri Mar 24 07:09:33 2017
New Revision: 315892
URL: https://svnweb.freebsd.org/changeset/base/315892
Log:
Include to obtain the memcpy() prototype.
I got a report of this source file not building on Raspberry Pi. It's
interesting that this only fails for that target and n
Author: ed
Date: Thu Mar 23 14:12:21 2017
New Revision: 315861
URL: https://svnweb.freebsd.org/changeset/base/315861
Log:
Stop providing the compat_3_brand.
As of r315860, the ELF image activator works fine for CloudABI without it.
Reviewed by: kib
MFC after:2 weeks
Modified:
Author: ed
Date: Thu Mar 23 14:09:45 2017
New Revision: 315860
URL: https://svnweb.freebsd.org/changeset/base/315860
Log:
Don't require the presence of the compat_3_brand.
The existing ELF image activator requires the brandinfo to provide such
a string unconditionally, even if the executa
Hi Kostik,
2017-03-23 0:00 GMT+01:00 Konstantin Belousov :
> On Wed, Mar 22, 2017 at 03:16:24PM +0100, Ed Schouten wrote:
>> Similarly, I seem to remember CloudABI's brandinfos set compat_3_brand
>> for a similar reason: it seems to be required by imgact_elf.c. Would
>&
Author: ed
Date: Wed Mar 22 19:20:39 2017
New Revision: 315736
URL: https://svnweb.freebsd.org/changeset/base/315736
Log:
Make file descriptor passing for CloudABI's recvmsg() work.
Similar to the change for sendmsg(), create a pointer size independent
implementation of recvmsg() and let
Author: ed
Date: Wed Mar 22 18:45:13 2017
New Revision: 315732
URL: https://svnweb.freebsd.org/changeset/base/315732
Log:
Add forward declaration for struct vnode.
The coredump() function provided by this header file has struct vnode *
as an argument.
MFC after:1 week
Modified:
Hi Kostik,
2017-03-22 10:02 GMT+01:00 Konstantin Belousov :
> On Wed, Mar 22, 2017 at 07:05:27AM +0000, Ed Schouten wrote:
>> Author: ed
>> Date: Wed Mar 22 07:05:27 2017
>> New Revision: 315701
>> URL: https://svnweb.freebsd.org/changeset/base/315701
>>
>>
Author: ed
Date: Wed Mar 22 07:05:27 2017
New Revision: 315701
URL: https://svnweb.freebsd.org/changeset/base/315701
Log:
Set the interpreter path to /nonexistent.
CloudABI executables are statically linked and don't have an
interpreter. Setting the interpreter path to NULL used to work
Author: ed
Date: Wed Mar 22 06:43:10 2017
New Revision: 315700
URL: https://svnweb.freebsd.org/changeset/base/315700
Log:
Make file descriptor passing work for CloudABI's sendmsg().
Reduce the potential amount of code duplication between cloudabi32 and
cloudabi64 by creating a cloudabi_so
o use something like this:
>>
>> | if ((cols = getenv("COLUMNS")) != NULL && *cols != '\0')
>> | termwidth = atoi(cols);
>> | else if ((ioctl(STDOUT_FILENO, TIOCGWINSZ, (char *)&ws) ==
>> -1 && ws.ws_ro
UT_FILENO, TIOCGWINSZ, (char *)&ws) ==
-1 && ws.ws_row == 0)
| termwidth = UNLIMITED;
|else
|termwidth = ws.ws_col - 1;
--
Ed Schouten
Nuxi, 's-Hertogenbosch, the Netherlands
KvK-nr.: 62051717
__
Author: ed
Date: Thu Feb 16 06:52:53 2017
New Revision: 313801
URL: https://svnweb.freebsd.org/changeset/base/313801
Log:
Remove unnecessary #includes from the kqueue(2) man page.
Now that can be included on its own, adjust the manual
page accordingly. Remove both unnecessary #include st
g this
header.
Maybe it's best to leave it there, so that it's more likely for people
to write code that also builds with previous versions of this header?
--
Ed Schouten
Nuxi, 's-Hertogenbosch, the Netherlands
KvK-nr.: 62051717
___
svn-
Author: ed
Date: Mon Feb 13 19:00:09 2017
New Revision: 313704
URL: https://svnweb.freebsd.org/changeset/base/313704
Log:
Make work on its own.
Right now this header file doesn't want to build when included on its
own, as it depends on some integer types that are only declared
internal
DES implementation seems
fairly large, uses global state, etc.
I can send out a change for code review if people {like,don't object to} this.
--
Ed Schouten
Nuxi, 's-Hertogenbosch, the Netherlands
KvK-nr.: 62051717
___
svn-src-head@freebsd.org maili
; dev/iwm/if_iwm_pcie_trans.coptional iwm
> dev/iwm/if_iwm_phy_ctxt.c optional iwm
> dev/iwm/if_iwm_phy_db.coptional iwm
What's with the 'netif' part in the source file's name? The actual
source file doesn't use it.
--
Ed Schout
Author: ed
Date: Tue Jan 17 22:05:52 2017
New Revision: 312355
URL: https://svnweb.freebsd.org/changeset/base/312355
Log:
Catch up with changes to structure member names.
Pointer/length pairs are now always named ${name} and ${name}_len.
Modified:
head/sys/amd64/cloudabi32/cloudabi32_sys
Author: ed
Date: Tue Jan 17 22:05:01 2017
New Revision: 312354
URL: https://svnweb.freebsd.org/changeset/base/312354
Log:
Regenerate sources based on the system call tables.
Modified:
head/sys/compat/cloudabi32/cloudabi32_proto.h
head/sys/compat/cloudabi32/cloudabi32_syscall.h
head/sys/co
1 - 100 of 1062 matches
Mail list logo