Re: __{read,write}_once

2019-11-06 Thread Mouse
entally an architecture-dependent notion. /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTMLmo...@rodents-montreal.org / \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B

Re: Dealing with strange disk devices

2019-10-28 Thread Mouse
s broken. I see changes of this sort as defense against broken disks if nothing else. /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTMLmo...@rodents-montreal.org / \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B

Re: alloca() in kernel code

2019-10-12 Thread Mouse
as possible, rather than to allocate maximum-sized buffers, whose total size will be as big as possible? I'm presumably missing something here, but what? /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTMLmo...@rodents-montreal.org / \ Email!

Re: Adding an ioctl to check for disklabel existence

2019-10-02 Thread Mouse
different. To be better. Except, of course, that (I assume) you don't think it _would_ be better. /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTMLmo...@rodents-montreal.org / \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B

Re: Adding an ioctl to check for disklabel existence

2019-10-02 Thread Mouse
> however, disklabel fails at >2TiB for 512 byte sector, If _that_'s what you're concerned about, then just grow the relevant fields (and, presumably, change the magic number). Or fix sector sizes other than 512 bytes. /~\ The ASCII Mouse \ / Ribbon Campa

Re: Adding an ioctl to check for disklabel existence

2019-09-29 Thread Mouse
The current state is a rather ad-hoc mishmash of all three of the above, with all the issues that inconsistency brings. Personally, I don't like (1), because I find such tools too useful; I'm not sure whether I prefer (2) or (3). /~\ The ASCII Mouse \ / Ribbon Campai

Re: Proposal, again: Disable autoload of compat_xyz modules

2019-09-26 Thread Mouse
ng since the late '70s, been making my living programming and/or sysadminning since 1984. Been involved with UNIX as a user since BSD 4.1c, with NetBSD since shortly before the split that led to OpenBSD. My portfolio? Look for "der Mouse" in mail-index.n.o's archives for my past pr

Re: Proposal, again: Disable autoload of compat_xyz modules

2019-09-26 Thread Mouse
the arguments presented.) Your arguments are convincing, but what they are convincing me, for one, of is not what you appear to want to convince people of. /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTMLmo...@rodents-montreal.org / \ Email!

Re: Proposal, again: Disable autoload of compat_xyz modules

2019-09-26 Thread Mouse
actual use" is, apparently, nothing but various wild guesses at the actual proportion. Based on what I've seen in this thread, it looks as though the use rate is around 1/2 (two users, two non-users) - but, of course, that has no statistical validity; the sample is ludicrously small and ent

Re: Proposal, again: Disable autoload of compat_xyz modules

2019-09-26 Thread Mouse
anisms in place that would allow tracking compat usage. /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTMLmo...@rodents-montreal.org / \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B

Re: x86 bootstrap features

2019-09-24 Thread Mouse
~\ The ASCII Mouse \ / Ribbon Campaign X Against HTMLmo...@rodents-montreal.org / \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B

Re: fexecve

2019-09-23 Thread Mouse
paged-in executable continues to work as long as it stays paged in even if its backing file is destroyed; perhaps that's changed in -current.) /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTMLmo...@rodents-montreal.org / \ Email! 7D C8

Re: fcntl(F_GETPATH) support

2019-09-15 Thread Mouse
t one let you corrupt the fs. Depends on what operations are defined on such a descriptor, and how they are implemented. /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTMLmo...@rodents-montreal.org / \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B

Re: fcntl(F_GETPATH) support

2019-09-15 Thread Mouse
[top-posting damage repaired manually] >> If you can get a file desriptor to a symlink, it will work; I don't >> think that we have a way to do this now. > FYI - XNU has O_SYMLINK for this. What operations does it support on fds open onto symlinks? /~\ The ASCII

Re: NCHNAMLEN vnode cache limitation removal

2019-09-13 Thread Mouse
y names pointing to it, at least not unless it's got no other references to it (in which case it would be freed if it had no names). Given the list of smart people I've seen discussing this, I'm presumably just missing something, but what? /~\ The ASCII Mouse \ / Ribbon Camp

Re: more fexecve questions

2019-09-10 Thread Mouse
ystems. /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTMLmo...@rodents-montreal.org / \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B

Re: more fexecve questions

2019-09-10 Thread Mouse
those point in the same direction: close it iff CLOEXEC is set on it. /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTMLmo...@rodents-montreal.org / \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B

Re: fexecve

2019-09-08 Thread Mouse
his? Certainly. I would count that as "something capabilityish" - after all, assuming it's per-process, in what ways, aside from the APIs used to control it, does that differ from a capability? Or, to return for a moment to my roots, $ SET PROC/PRIV=FEXECVE /~\ The ASCII

Re: fexecve

2019-09-08 Thread Mouse
ibraries. How does fexecve() make anything possible here that wasn't possible before? It seems to me that updating .so libraries has always carried this risk, so I must be missing something. /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTMLmo

Re: fexecve

2019-09-08 Thread Mouse
> Here's a simple fexecve(2) implementation. Comments? Strikes me as a very good thing to have optionally available. I'd need to think a good deal more to decide whether I think it's a reasonable thing to have enabled by default. /~\ The ASCII Mouse \ / Rib

Re: Hardlinks to symlinks

2019-08-20 Thread Mouse
ecause I was really talking about link(2), not ln(1). I've since verified that changing 1 to 0 in the do_sys_link() call made by sys_link() produces the old behaviour from ln without touching userland, so it wasn't a kernel change required by a userland change. /~\ The ASCII

Hardlinks to symlinks

2019-08-19 Thread Mouse
ans little. /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTMLmo...@rodents-montreal.org / \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B

Re: NFS lockup after UDP fragments getting lost (was: 8.1 tstile lockup after nfs send error 51)

2019-08-01 Thread Mouse
The ASCII Mouse \ / Ribbon Campaign X Against HTMLmo...@rodents-montreal.org / \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B

Re: /dev/random is hot garbage

2019-07-21 Thread Mouse
ography, and even then only those so sloppily designed that they (a) have no fallback for systems that don't export a strong random-number interface and (b) trust that interface to perform up to its advertised design specs. /~\ The ASCII Mouse \ / Ribbon Campaign X Again

Re: /dev/random is hot garbage

2019-07-21 Thread Mouse
> "Just get a 128GB RAM 32 core machine like me, and then you can use > netbsd" Hasn't that been NetBSD's stance since 2011-03-30? (Okay, it's an exaggeration, but not all that much of an exaggeration.) /~\ The ASCII Mouse \ / Ribbon Campaign

Re: /dev/random is hot garbage

2019-07-21 Thread Mouse
what? I would argue against the first one: just because something is being misused is not, in itself, a reason to get rid of it entirely, at least not when it still has good extant uses. /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTMLmo..

Re: Interface description support

2019-06-24 Thread Mouse
other namespace. The _right_ fix, it seems to me, is to move network interfaces into /dev (possibly in a subdirectory?), where they should have been all along, and then use ln, ln -s, mv, whatever, there. /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTMLmo...@rodents-montreal.org / \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B

Re: Interface description support

2019-06-24 Thread Mouse
's what the person actually doing the work implements /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTMLmo...@rodents-montreal.org / \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B

Re: Interface description support

2019-06-24 Thread Mouse
iptions. Of course, this means special handling for a zero-length description, or else that a zero-length description is different from no description, but I think that is the lower price. /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTMLmo...@r

Re: Portability fix in kern_ntptime.c

2019-06-05 Thread Mouse
is entirely reasonable to speak of understanding the code's behaviour in many cases when it is, formally, undefined. /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTMLmo...@rodents-montreal.org / \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B

Re: Removing PF

2019-04-02 Thread Mouse
doesn't? It seems to me, from the lack of consensus I'm seeing here, that that remains to be seen. /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTMLmo...@rodents-montreal.org / \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B

Re: Removing PF

2019-03-30 Thread Mouse
do what I want done. /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTMLmo...@rodents-montreal.org / \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B

Web "documentation" [was Re: Removing PF]

2019-03-30 Thread Mouse
t in the code we had. I had no way to tell whether this was simple version skew, bugs, or what, and in any case had no idea what, if anything, could be done about it. /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTMLmo...@rodents-montreal.org / \

Re: Ubiquitous ucas(9)

2019-03-29 Thread Mouse
ew something additional the answer to that would be obvious? /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTMLmo...@rodents-montreal.org / \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B

Re: Regarding the ULTRIX and OSF1 compats

2019-03-16 Thread Mouse
you hung out? /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTMLmo...@rodents-montreal.org / \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B

Re: Regarding the ULTRIX and OSF1 compats

2019-03-16 Thread Mouse
he rest of my life around that as first priority. If that's what you mean, then, yes, probably nobody cares deeply about it. But I don't think I care deeply about _anything_ in computers by that criterion. /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTML

Re: Regarding the ULTRIX and OSF1 compats

2019-03-16 Thread Mouse
y contributions; they certainly have in the last decade or two demosntrated a notable lack of care about the things that attracted me to past NetBSD. /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTMLmo...@rodents-montreal.org / \ Email! 7D C8

Re: Regarding the ULTRIX and OSF1 compats

2019-03-16 Thread Mouse
gt; for convenience of language, design a SPARC ABI which is in some >> ways similar to the Ultrix ABI for VAX, then use that to test >> COMPAT_ULTRIX on SPARC. But you say it's "[n]ot quite that". Could you explain the difference(s) you see to me? I'm missing them. /~\ The A

Re: Regarding the ULTRIX and OSF1 compats

2019-03-16 Thread Mouse
S that struggles to implement features of 2020 because of > the burden from 1990. Nice! Cogent, convincing, well-reasoned argument, that. /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTMLmo...@rodents-montreal.org / \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B

Re: Regarding the ULTRIX and OSF1 compats

2019-03-16 Thread Mouse
something wrong that showed up on native builds but not cross-builds? People got used to thinking that because it cross-built, it was fine. It's one reason I insist on self-hosting on all my machines. /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTML

Re: Regarding the ULTRIX and OSF1 compats

2019-03-16 Thread Mouse
hat would it even mean to be compatible with it? /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTMLmo...@rodents-montreal.org / \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B

Re: Regarding the ULTRIX and OSF1 compats

2019-03-16 Thread Mouse
r, but still human-scale. > its sad to say that directly, but as businessman, NetBSD is not an > option for now. Then why are you here? NetBSD is an option for at least two companies I know of. /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTML

Ethernet naming [was Re: kernel frameworks for jumbo frame]

2019-03-11 Thread Mouse
, just using (very) different layers 1 and 2. /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTMLmo...@rodents-montreal.org / \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B

Re: RFC: New userspace fetch/store API

2019-02-26 Thread Mouse
son to avoid it except habit. /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTMLmo...@rodents-montreal.org / \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B

Re: RFC: New userspace fetch/store API

2019-02-26 Thread Mouse
ave two writes. What am I missing? (The reading of val1 and val2 in the first case, and the calls to ufetch_64 in the second case, may be switched, but that doesn't affect the counts.) /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTMLmo...@rodent

Re: RFC: New userspace fetch/store API

2019-02-24 Thread Mouse
as even malloc(), never mind a kernel. /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTMLmo...@rodents-montreal.org / \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B

Re: Strange semaphore behavior, sem_init() fails with errno 4294967295 (-1)

2019-02-20 Thread Mouse
enerate only ENOSPC and EINVAL? Reading the source, or looking at documentation, or what? In particular, if it's documentation, don't trust it too much; I've seen documentation lie far too often. Also, don't forget that successful calls normally don't touch errno, though I _think_ that doesn't matter here.

Re: Reserve device major numbers for pkgsrc

2019-02-17 Thread Mouse
setups like two I know of for an embedded product where /sbin/init is not a normal init(8) and /dev has only eight entries in one case or thirty in the other. /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTMLmo...@rodents-montreal.org / \

fork-the-syscall return semantics

2019-02-16 Thread Mouse
urn the abstract return value in retval[0] like most other syscalls that return a simple integer value, but for a special case like this to have survived this long, I can't help feeling there must be _something_ behind it. /~\ The ASCII Mouse \ / Ribbon Campaign X Against H

Re: Audio device mmap and kevents

2019-01-23 Thread Mouse
rrupt or what is close to irrelevant; getting the bits into the kernel machinery via mmap rather than write still provides both speed and latency advantages - just not as much as if it were the hardware's output buffer being mapped into user VM. /~\ The ASCII Mouse \ / Ribbo

Re: Audio device mmap and kevents

2019-01-21 Thread Mouse
h dividing the ring buffer size. /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTMLmo...@rodents-montreal.org / \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B

Re: Support for tv_sec=-1 (one second before the epoch) timestamps?

2018-12-16 Thread Mouse
one is arguing that programs should not be able to work with pre-1970 times. The most I've seen anyone say is that time_t need not be suitable for representing such times. /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTMLmo...@rodents-montreal.or

Re: Support for tv_sec=-1 (one second before the epoch) timestamps?

2018-12-15 Thread Mouse
you can get much the same effect by making time_t a (positive) unsigned value and redefining the epoch to be 1901-12-13 20:45:54 UTC. But, if you're going to redefine the epoch, there are a whole lot of options available. /~\ The ASCII Mouse \ / Ribbon Campaign X

Re: [uvm_hotplug] Fixing the build of tests

2018-12-15 Thread Mouse
the undecorated 64-bit type. /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTMLmo...@rodents-montreal.org / \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B

Re: Importing libraries for the kernel

2018-12-14 Thread Mouse
what it's trying to defend against. I can easily imagine some uses, but for the ones I've come up with so far, timing leaks are completely irrelevant.) /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTMLmo...@rodents-montreal.org / \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B

Re: Importing libraries for the kernel

2018-12-14 Thread Mouse
ome asymmetric crypto algorithms require nothing more complex than large-number arithmetic. (Slow, yes, but not particularly complex.) /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTMLmo...@rodents-montreal.org / \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B

Re: Support for tv_sec=-1 (one second before the epoch) timestamps?

2018-12-13 Thread Mouse
ference between times is an interval, or duration, not a time, > and should not be stored in a time_t, ever. So, what type _should_ be used for it? /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTMLmo...@rodents-montreal.org / \ Email! 7D C8

Re: Support for tv_sec=-1 (one second before the epoch) timestamps?

2018-12-12 Thread Mouse
_t, you can't go before late 1901 even with full support for negative time_t anyway.) /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTMLmo...@rodents-montreal.org / \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B

Re: Adding new feature - Kcov

2018-12-12 Thread Mouse
something else? /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTMLmo...@rodents-montreal.org / \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B

Re: Adding new feature - Kcov

2018-12-12 Thread Mouse
ASCII Mouse \ / Ribbon Campaign X Against HTMLmo...@rodents-montreal.org / \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B

Re: noatime mounts inhibiting atime updates via utime()

2018-12-04 Thread Mouse
n specifically told to" behaviour is probably more useful than the documented (and actual) behaviour. /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTMLmo...@rodents-montreal.org / \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B

Re: pci_intr_alloc() vs pci_intr_establish() - retry type?

2018-11-28 Thread Mouse
MD, presumably the driver, has to be involved if MSI is to be used. And how can a driver do this without knowing whether it's supported? /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTMLmo...@rodents-montreal.org / \ Email! 7D C8 61 52 5D E7

Re: [PATCH] Re: Reboot resistant USB bug

2018-10-25 Thread Mouse
overwritten by garbage which happens to contain reasonable-looking type and size values? /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTMLmo...@rodents-montreal.org / \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B

Re: Missing compat_43 stuff for netbsd32?

2018-09-11 Thread Mouse
ed > BSD 4.3. That's pretty much my own perspective on COMPAT_43. Probably should have been called COMPAT_BSD43 or some such /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTMLmo...@rodents-montreal.org / \ Email! 7D C8 61 52 5D

Re: NetBSD-8 kernel too big?

2018-08-30 Thread Mouse
ngs like COMPAT_* and ddb, but I suspect it may well be worth trying trimming it back. I don't know what made the biggest difference for me, but I suspect it was the reams and reams of drivers I knew I didn't need. /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTML

Re: Too many PMC implementations

2018-08-17 Thread Mouse
powerful tools"? I haven't been following the state of the art in open-source profiling tools.) /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTMLmo...@rodents-montreal.org / \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B

Re: How to prevent a mutex being _enter()ed from being _destroy()ed?

2018-08-10 Thread Mouse
echanisms, so perhaps it doesn't entirely count. /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTMLmo...@rodents-montreal.org / \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B

Re: To test presence of CVE-2018-6922 ( TCP vulnerability) in NetBSD5.1

2018-08-10 Thread Mouse
rything in between.) /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTMLmo...@rodents-montreal.org / \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B

Re: ddb input via IPMI virtual console

2018-08-07 Thread Mouse
y enough that I wouldn't even bother checking if it were me in that situation. /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTMLmo...@rodents-montreal.org / \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B

Re: ddb input via IPMI virtual console

2018-08-06 Thread Mouse
erhaps one could help? /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTMLmo...@rodents-montreal.org / \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B

Re: Adding a boot flag for No ASLR

2018-07-23 Thread Mouse
>> I have recently been working on adding a new boot flag for disabling >> ASLR during boot. [...useful for some userland stuff...] What's wrong with just configuring a kernel without any ASLR at all for such work? /~\ The ASCII Mouse \ / Ribbon Campaign

Re: CVS commit: src/sys/arch/x86/x86

2018-07-08 Thread Mouse
A compiler that doesn't, whether because it's broken or because it takes advantage of latitude in the languageg spec, simply is not suitable for that use. /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTMLmo...@rodents-montreal.org / \ Email!

Re: CVS commit: src/sys/arch/x86/x86

2018-07-08 Thread Mouse
is a fool's dream. Programs such as undefined-behaviour detectors are tools to serve us, not shackles to bind us. Intelligence should be applied when using their results, including not expecting portability from inherently nonportable code. /~\ The ASCII Mouse \ / Ribbon Campai

Re: ./build.sh -k feature request (was Re: GENERIC Kernel Build errors with -fsanitize=undefined option enabled)

2018-06-25 Thread Mouse
ced. Similarly, sets should depend on the main build. /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTMLmo...@rodents-montreal.org / \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B

Re: ./build.sh -k feature request (was Re: GENERIC Kernel Build errors with -fsanitize=undefined option enabled)

2018-06-25 Thread Mouse
nteresting ways for full world builds if you run into a > problem, cvs up and try an update build again. I submit that, if that is the case, the build is already broken and you just haven't yet tripped over a case that makes it unmistakeable. /~\ The ASCII Mouse \ /

Looking for re(4) help

2018-06-22 Thread mouse
, principally NetBSD's. I've got an inquiry in to Realtek, but past experiences with vendors make me not too optimistic about getting help from that quarter. Any pointers? /~\ The ASCII Mouse \ / Ribbon Campaign mo...@credil.org X Against HTML

Re: i2c and indirect vs. direct config

2018-05-30 Thread Mouse
less true of i2c. /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTMLmo...@rodents-montreal.org / \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B

Re: Kernel module framework status?

2018-05-03 Thread Mouse
roduct. (Of course, I'm sure there are lots of buses out there I've never heard of, or don't know enough about.) /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTMLmo...@rodents-montreal.org / \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8

if_wm.c: is this a bug, or am I missing something?

2018-04-20 Thread Mouse
for a loop more like for (;timeout>0;timeout--). Is the bug in the code? Or in my brain? /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTMLmo...@rodents-montreal.org / \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B

Re: Potential new syscall

2018-04-07 Thread Mouse
it to you? What I have is a commit in my based-at-5.2 src git tree. I can extract diffs easily, or you can clone the git repo and look at the commit (git://git.rodents-montreal.org/Mouse/netbsd-fork/5.2/src commit 3bc0da98f79eb0115f5c4992d7b42b6623ae7b78), or if you have something else to su

Re: Is there a current known getrusage() problem (amd64)

2018-04-04 Thread Mouse
rent CPU" tracepoint? /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTMLmo...@rodents-montreal.org / \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B

Re: Potential new syscall

2018-04-03 Thread Mouse
The ASCII Mouse \ / Ribbon Campaign X Against HTMLmo...@rodents-montreal.org / \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B

Re: Potential new syscall

2018-04-03 Thread Mouse
oser to correct. /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTMLmo...@rodents-montreal.org / \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B

Re: Potential new syscall

2018-04-03 Thread Mouse
e you can't do any of the usual post-fork pre-exec prep). /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTMLmo...@rodents-montreal.org / \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B

Re: Potential new syscall

2018-04-03 Thread Mouse
unshare(CLONE_VFORK) (which doesn't seem to exist). /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTMLmo...@rodents-montreal.org / \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B

Potential new syscall

2018-04-02 Thread Mouse
the above details; thoughts on the general idea would also be interesting to me.) /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTMLmo...@rodents-montreal.org / \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B

Re: mmap implementation advice needed.

2018-03-31 Thread Mouse
top a > process from going just that. Isn't the VAX pmap code in a position to reject attempts to allocate virtual space it doesn't support? /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTMLmo...@rodents-montreal.org / \ Email! 7D C8 61 52

Re: mmap implementation advice needed.

2018-03-30 Thread Mouse
cal lookups are not based directly on the userland address, the way they would be with a typical two-level page table system (as I understand them), but rather they are ordinary system->physical lookups based on the PTE's (system) virtual address. /~\ The ASCII Mouse \ / Rib

Re: mmap implementation advice needed.

2018-03-30 Thread Mouse
sn't support rtVAXen, but I don't recall looking in detail.) /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTMLmo...@rodents-montreal.org / \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B

Re: compat code function pointers

2018-03-20 Thread Mouse
icable to the version in question) for all my kernels. I'm even slightly uncomfortable with BPF, though I trust the verifier enough, and find the facility useful enough, that I do keep that enabled. /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTMLmo...@r

SAs [was Bunch of bugs reported by Ilja van Sprundel]

2018-01-29 Thread Mouse
roll their own based on it. But, if you want NetBSD to continue to serve the niche it appears to have decided to carve out for itself, I think such changes would be in exactly the wrong direction. /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTMLmo...@r

Re: Spectre

2018-01-18 Thread Mouse
ot; choice, but it would be easy to do and could be useful for something like using normally-sandboxed environments for running known-non-malicious code.) /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTMLmo...@rodents-montreal.org / \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B

Re: Spectre

2018-01-18 Thread Mouse
e out in the field that _some_ kind of mitigation measure is appropriate - but workarounds should not be confused with fixes. /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTMLmo...@rodents-montreal.org / \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B

Re: Spectre

2018-01-18 Thread Mouse
stand the other point of view. /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTMLmo...@rodents-montreal.org / \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B

Re: Spectre

2018-01-17 Thread Mouse
tre variants a CPU bug or just a misfeature that makes sandboxing more difficult (in that it provides unobvious ways to read memory). /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTMLmo...@rodents-montreal.org / \ Email! 7D C8 61 52 5D E7 2D

Re: Spectre

2018-01-17 Thread Mouse
/~\ The ASCII Mouse \ / Ribbon Campaign X Against HTMLmo...@rodents-montreal.org / \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B

Re: /dev/ksyms permissions

2018-01-17 Thread Mouse
n't see why not - or, at least, I don't see the ksyms change as being relevant. Just read /dev/ksyms at startup (at the same time as you open /dev/kmem, probably), before dropping group kmem. Isn't that all this change (making /dev/ksyms 440 root:kmem) requires? /~\ The ASCII

Re: /dev/ksyms permissions

2018-01-17 Thread Mouse
same reasons I dislike kaslr, which are fairly specific to my use aptterns.) > Maybe group kmem read, but that might require more elevated > privileges in the programs that uses ksyms. What program uses ksyms now that doesn't require at least group kmem? /~\ The ASCII

Re: amd64: svs

2018-01-07 Thread Mouse
for description. I have no particular authority here. I'm speculating based on what I've seen people say and what seems likely to me. /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTMLmo...@rodents-montreal.org / \ Email! 7D C8 61 52 5D E7

Re: amd64: svs

2018-01-06 Thread Mouse
even vaguely appropriate to this list). /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTMLmo...@rodents-montreal.org / \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B

<    1   2   3   4   5   6   7   8   9   >