ret = EINVAL;
- } else if ((ret = pthread_mutex_lock(mutexp)) == 0) {
+ } else if ((ret = pthread_mutex_lock(mutex)) == 0) {
*old_ceiling = mutex->prioceiling;
mutex->prioceiling = prioceiling;
- pthread_mutex_unlock(mutexp);
+
to at least patch xterm in-tree so
that it does not render SHY?
Or must it remain broken?
--
Lauri Tirkkonen | lotheac @ IRCnet
a/mutt/-/blob/master/mbyte.c#L528
Thanks, it's news to me that mutt does that. It speaks to something when an
application is explicitly hardcoding codepoints not to print. I don't
particularly like the 'solution' of every TUI application having to ship their
own fixes for stuff like this though.
--
Lauri Tirkkonen | lotheac @ IRCnet
On Tue, Apr 06 2021 13:09:11 +0200, Martijn van Duren wrote:
> On Thu, 2021-04-01 at 10:39 +0300, Lauri Tirkkonen wrote:
> > On Thu, Apr 01 2021 09:30:36 +0200, Martijn van Duren wrote:
> > > However, based on the description by the Unicode Consortium I think
> > > O
e SHY is not
visible.
The other issues I observed with discrepancies between OpenBSD and other systems
I already outlined in my initial mail.
--
Lauri Tirkkonen | lotheac @ IRCnet
break compatibility to their older versions, for example. I
explicitly mentioned I don't wish to engage in a discussion about which way is
_correct_ - I am interested in interoperability with real, existing systems.
--
Lauri Tirkkonen | lotheac @ IRCnet
since
+ # it is width 1 in nearly every other environment, set it here.
+ return 1 if $code == 0x00ad;
return 0 if $charinfo->{category} eq 'Mn';
return 0 if $charinfo->{category} eq 'Me';
--
Lauri Tirkkonen | lotheac @ IRCnet
ith
eg. interactive ssh sessions.
--
Lauri Tirkkonen | lotheac @ IRCnet
nSSL-based systems are largely unable to use libtls (which in itself is a
shame) - how would this change make it to portable?
--
Lauri Tirkkonen | lotheac @ IRCnet
that uses
pshared semaphores that I intend to submit if this goes through (my
initial attempts used sockets, but that was tricky to get right). But
yes, there isn't a lot of software that uses them.
--
Lauri Tirkkonen | lotheac @ IRCnet
ggest similar to
> bpftrace(8) or dtrace(1)?
In DTrace, profile- probes fire at a frequency of hertz, but
apparently also support suffixes.
http://dtrace.org/guide/chp-profile.html
--
Lauri Tirkkonen | lotheac @ IRCnet
On Mon, Feb 24 2020 15:33:35 -0500, Ted Unangst wrote:
> Martin Pieuchot wrote:
> > On 24/02/20(Mon) 11:29, Lauri Tirkkonen wrote:
> > > On Mon, Feb 24 2020 10:24:53 +0100, Martin Pieuchot wrote:
> > > > On 23/02/20(Sun) 14:48, Lauri Tirkkonen wrote:
> > >
re in struct __sem if
pshared=0, and check that on every access, but I'm honestly not sure
what value it brings for a userspace library to essentially prevent
access to userspace memory if the application went through the effort to
share that memory between processes anyway.
--
Lauri Tirkkonen | lotheac @ IRCnet
On Mon, Feb 24 2020 10:42:22 +0100, Martin Pieuchot wrote:
> On 24/02/20(Mon) 11:29, Lauri Tirkkonen wrote:
> > On Mon, Feb 24 2020 10:24:53 +0100, Martin Pieuchot wrote:
> > > On 23/02/20(Sun) 14:48, Lauri Tirkkonen wrote:
> > > > I was working on a make jobserver
On Mon, Feb 24 2020 10:24:53 +0100, Martin Pieuchot wrote:
> On 23/02/20(Sun) 14:48, Lauri Tirkkonen wrote:
> > I was working on a make jobserver implementation that uses POSIX
> > semaphores as job tokens instead of a complicated socket-based approach.
> > Initially I used na
On Sun, Feb 23 2020 14:48:36 +0200, Lauri Tirkkonen wrote:
> So, diff below makes struct __sem non-opaque and removes the indirect
> allocations, so that the application is required to provide storage and
> can therefore control where it's stored (which could be eg. shm).
followup diff t
b_version b/lib/librthread/shlib_version
index 72168dfd16a..54ef0c4cc0c 100644
--- a/lib/librthread/shlib_version
+++ b/lib/librthread/shlib_version
@@ -1,2 +1,2 @@
-major=26
-minor=1
+major=27
+minor=0
--
Lauri Tirkkonen | lotheac @ IRCnet
On Wed, Jan 29 2020 12:25:34 +0100, Sebastian Benoit wrote:
> Lauri Tirkkonen(la...@hacktheplanet.fi) on 2020.01.29 01:31:56 +0200:
> > On Tue, Jan 28 2020 18:03:19 +0100, Florian Obser wrote:
> > > On Tue, Jan 28, 2020 at 09:58:40AM -0700, Todd C. Miller wrote:
> > >
o you think that 'du -m' will be in all those then? POSIX doesn't
have it [0].
The way I see it, the entire conversation in this thread is about doing
things that might be useful to people. IMO, arguing about where
extensions are or aren't implemented isn't productive.
[0]: https://pubs.open
ficial to me in
identifying areas of improvement, even if those are nothing new to
OpenBSD developers.
--
Lauri Tirkkonen | lotheac @ IRCnet
On Wed, Nov 27 2019 16:14:44 +0100, Marc Espie wrote:
> On Fri, Nov 15, 2019 at 03:29:29PM +0200, Lauri Tirkkonen wrote:
> > On Fri, Nov 15 2019 15:24:57 +0200, Lauri Tirkkonen wrote:
> > > Your points are valid and I agree with them completely. There are
> > >
On Wed, Nov 27 2019 11:49:00 +0100, Marc Espie wrote:
> On Wed, Nov 27, 2019 at 12:42:48PM +0200, Lauri Tirkkonen wrote:
> > In a lesson to always proof-read *before* sending your message:
> >
> > On Wed, Nov 27 2019 12:31:51 +0200, Lauri Tirkkonen wrote:
> >
In a lesson to always proof-read *before* sending your message:
On Wed, Nov 27 2019 12:31:51 +0200, Lauri Tirkkonen wrote:
> - a full release build with the jobserver enabled passed after
>disabling gnu/usr.bin/binutils
this should, in fact, read "gnu/usr.bin/binutils-2.17".
t create -J option string");
+ record_option('J', optstr);
+ }
+
/* And set up everything for sub-makes */
Var_AddCmdline(MAKEFLAGS);
@@ -796,7 +824,6 @@ main(int argc, char **argv)
else
Targ_FindList(, create);
- Job_Init(maxJobs);
/* If the user has defined a .BEGIN target, execute the commands
* attached to it. */
if (!queryFlag)
diff --git a/usr.bin/make/main.h b/usr.bin/make/main.h
index 469487ee058..41a74af9d0d 100644
--- a/usr.bin/make/main.h
+++ b/usr.bin/make/main.h
@@ -29,6 +29,9 @@
/* main
* User interface to make.
*/
+
+#define MAKEFLAGS ".MAKEFLAGS"
+
/* Main_ParseArgLine(string);
* Parse string as a line of arguments, and treats them as if they
* were given at make's invocation. Used to implement .MFLAGS. */
--
Lauri Tirkkonen | lotheac @ IRCnet
On Fri, Nov 15 2019 15:24:57 +0200, Lauri Tirkkonen wrote:
> Your points are valid and I agree with them completely. There are
> clearly problems with lock contention,
and I should mention here that I would probably not have observed the
magnitude of these problems had I not made make star
by one not to descend
too far into yak shaving territory. Given infinite time, let's fix
everything, but since that is not afforded to me, some educated guesses
have to be made to be able to test the right thing in the meantime. ;)
--
Lauri Tirkkonen | lotheac @ IRCnet
Hi Martin,
On Thu, Nov 14 2019 17:57:20 +0100, Martin Pieuchot wrote:
> On 14/11/19(Thu) 17:30, Lauri Tirkkonen wrote:
> > [...]
> > The first test I made was on a beefy virtual machine under Hyper-V,
> > with 32 vCPUs on a Threadripper 2950X. With and without this patch
o be way
> more clearly separated, to not included gratuitous changes to existing code,
> to look like OpenBSD code, and to have decent error paths.
Thanks; I take it this means there is at least a little interest in this
proof of concept :)
I'll resume work on this to polish it more, fix the remaining bugs and
try to address your concerns. I did try to make it look like OpenBSD
code, but obviously failed on some counts; please bear with me with any
future mistakes I might make on that path.
And I suppose I'll need some help on the "compiles on all architectures"
part eventually; I just have amd64/arm64 stuff.
--
Lauri Tirkkonen | lotheac @ IRCnet
don't see that as
> a reason to hold off on making *this* change.
Yeah, I totally agree.
--
Lauri Tirkkonen | lotheac @ IRCnet
ight be a little confusing to make this operation implicit
in another operation (ie. list APs), and for root only. How does a user
find out about this feature? Wouldn't it be better to have a separate
command to trigger the scan, eg. 'rescan'? That could be documented and
restricted to root.
--
Lauri Tirkkonen | lotheac @ IRCnet
ne(MAKEFLAGS);
@@ -796,7 +820,6 @@ main(int argc, char **argv)
else
Targ_FindList(, create);
- Job_Init(maxJobs);
/* If the user has defined a .BEGIN target, execute the commands
* attached to it. */
if (!queryFlag)
diff --git a/usr.bin/make/main.h b/usr.bin/make/main.h
index 469487ee058..41a74af9d0d 100644
--- a/usr.bin/make/main.h
+++ b/usr.bin/make/main.h
@@ -29,6 +29,9 @@
/* main
* User interface to make.
*/
+
+#define MAKEFLAGS ".MAKEFLAGS"
+
/* Main_ParseArgLine(string);
* Parse string as a line of arguments, and treats them as if they
* were given at make's invocation. Used to implement .MFLAGS. */
--
2.23.0
--
Lauri Tirkkonen | lotheac @ IRCnet
${MAKE_FLAGS} \
+ ${t:S/^real//}; \
+ fi
+. if !target($t)
+$t: _SUBDIRUSE
+. endif
+. endfor
+. endif
+. endfor
.endif
.if !target(install)
@@ -74,13 +71,6 @@ maninstall: afterinstall
afterinstall: realinstall
realinstall: beforeinstall _SUBDIRUSE
.endif
-
-
-.for t in all cleandir includes depend obj tags manlint
-. if !target($t)
-$t: _SUBDIRUSE
-. endif
-.endfor
.if !target(regress) && empty(.TARGETS:Mall)
regress: _SUBDIRUSE
.endif
--
2.23.0
--
Lauri Tirkkonen | lotheac @ IRCnet
anywhere. Is it available somewhere?
--
Lauri Tirkkonen | lotheac @ IRCnet
On Tue, Jun 11 2019 14:40:03 +0100, Jason McIntyre wrote:
> On Tue, Jun 11, 2019 at 03:11:03PM +0300, Lauri Tirkkonen wrote:
> > Hi, trivial manpage diff.
> >
>
> fixed, thanks.
> jmc
I noticed the followup commit that changes the canonical option name to
any substitution
by the
-.Cm Hostname
+.Cm HostName
or
.Cm CanonicalizeHostname
options.
--
Lauri Tirkkonen | lotheac @ IRCnet
before
applying 'mode 11b' or 'mode 11g' on my laptop would not actually
disconnect from my 5GHz-only AP, and the ifconfig output was something
like "mode 11b (HT-MCS0 mode 11n)" - after, it works as expected.
--
Lauri Tirkkonen | lotheac @ IRCnet
On Tue, Mar 19 2019 15:28:48 -0600, Todd C. Miller wrote:
> On Tue, 19 Mar 2019 23:24:24 +0200, Lauri Tirkkonen wrote:
>
> > I might be blind, but 'grep -r send-mail /usr/ports/pobj/nmh-1.7.1'
> > comes up empty for me after 'make extract' in /usr/ports/mail/nmh?
>
&g
On Tue, Mar 19 2019 15:16:10 -0600, Todd C. Miller wrote:
> On Tue, 19 Mar 2019 22:15:17 +0200, Lauri Tirkkonen wrote:
>
> > thanks. that means no need for smtpctl and mailer.conf to check for it
> > any more.
>
> Not so fast. There are still things in ports that us
ob/master/etc/mail/mailer.conf
https://github.com/NetBSD/src/blob/trunk/etc/mailer.conf
so I'm not really worried about that.
--
Lauri Tirkkonen | lotheac @ IRCnet
On Tue, Mar 19 2019 07:26:41 -0600, Todd C. Miller wrote:
> On Tue, 19 Mar 2019 10:33:07 +0200, Lauri Tirkkonen wrote:
>
> > ping - doesn't look removed yet :)
>
> Committed.
thanks. that means no need for smtpctl and mailer.conf to check for it
any more.
diff --git a/etc
> when delivermail was still in use. Sendmail itself never checked
> its argv[0] for "send-mail" as far as I know.
>
> At this point I consider it a historical oddity that is safe to
> remove.
ping - doesn't look removed yet :)
--
Lauri Tirkkonen | lotheac @ IRCnet
) {
default:
#if defined(HAVE_WCHAR_H) && defined(HAVE_WCWIDTH)
- if (xtermEnvUTF8() &&
- systemWcwidthOk(xw->misc.mk_samplesize, xw->misc.mk_samplepass)) {
+ if (xtermEnvUTF8()) {
my_wcwidth = wcwidth;
TRACE(("using system wcwidth() function\n"));
break;
--
Lauri Tirkkonen | lotheac @ IRCnet
e8f233549 100644
--- a/usr.bin/mail/send.c
+++ b/usr.bin/mail/send.c
@@ -369,7 +369,7 @@ mail1(struct header *hp, int printheaders)
}
if ((cp = value("record")) != NULL)
(void)savemail(expand(cp), mtf);
-
+
/* Setup sendmail arguments. */
*ap++ = "send-mail";
*ap++ = "-i";
--
Lauri Tirkkonen | lotheac @ IRCnet
*ap++ = "-t";
cp = hp->h_from ? hp->h_from : value("from");
--
Lauri Tirkkonen | lotheac @ IRCnet
ms to work fine on my athn(4) 11n 5GHz AP.
But I didn't observe any improvements in bandwidth, using an Android
phone station as traffic sink (~9MBit/s maximum both before and after).
--
Lauri Tirkkonen | lotheac @ IRCnet
and
there are so many reasons to dislike that approach. I quite like the
simplicity of your script - it doesn't really matter much if it takes a
long time to run since you don't need to run it very often.
--
Lauri Tirkkonen | lotheac @ IRCnet
0x1f980 - 0x1f997 0x1f9c0 0x1f9d0 - 0x1f9e6
/*
@@ -5579,7 +5883,17 @@ SWIDTH2 0x2b820 - 0x2cea1
/*
- * U+2CEB0 - U+2F7FF : No_Block
+ * U+2CEB0 - U+2EBEF : CJK Unified Ideographs Extension F
+ */
+
+ALPHA 0x2ceb0 - 0x2ebe0
+GRAPH 0x2ceb0 - 0x2ebe0
+PRINT 0x2ceb0 - 0x2ebe0
+SWIDTH2 0x2ceb0 - 0x2ebe0
+
+
+/*
+ * U+2EBF0 - U+2F7FF : No_Block
*/
@@ -5603,9 +5917,10 @@ TODIGIT < 0x2f890 9 >
* U+E - U+E007F : Tags
*/
-CONTROL 0xe0001 0xe0020 - 0xe007f
+CONTROL 0xe0001
GRAPH 0xe0001 0xe0020 - 0xe007f
PRINT 0xe0001 0xe0020 - 0xe007f
+SPECIAL 0xe0020 - 0xe007f
SWIDTH0 0xe0001 0xe0020 - 0xe007f
--
Lauri Tirkkonen | lotheac @ IRCnet
l:
- ${INSTALL} ${INSTALL_COPY} -S ${INSTALL_STRIP} \
+ ${INSTALL} ${INSTALL_COPY} ${INSTALL_STRIP} \
-o ${BINOWN} -g ${BINGRP} \
-m ${BINMODE} ${PROG} ${DESTDIR}${BINDIR}/install
--
Lauri Tirkkonen | lotheac @ IRCnet
} ${INSTALL_COPY} -S ${INSTALL_STRIP} \
+ ${INSTALL} ${INSTALL_COPY} ${INSTALL_STRIP} \
-o ${BINOWN} -g ${BINGRP} \
-m ${BINMODE} $p ${DESTDIR}${BINDIR}/$p
.endfor
--
Lauri Tirkkonen | lotheac @ IRCnet
sk for OKs.
>
> Just checking we didn't forget about this. Seems the right thing to do.
weekly ping.
--
Lauri Tirkkonen | lotheac @ IRCnet
ide compat for it in libbsd; there must be a reason for that). I'm
speaking as someone who's been removing a bunch of crap from that other
OS I mentioned, so that's my reason for this line of thinking slash
pipe-dreaming ;)
--
Lauri Tirkkonen | lotheac @ IRCnet
On Thu, Jan 24 2019 17:03:57 -0700, Theo de Raadt wrote:
> Scott Cheloha wrote:
>
> > > On Jan 24, 2019, at 06:19, Lauri Tirkkonen wrote:
> > >
> > > [...]
> > >
> > > I haven't done any actual measurements though, so it's possible my
>
t would have to compile both of the greps
under test with -DSMALL to avoid the mmap path. But fine, since it seems
so important to you I'll try to get *something*...
--
Lauri Tirkkonen | lotheac @ IRCnet
On Thu, Jan 24 2019 13:58:04 +0200, Lauri Tirkkonen wrote:
> And even then I think the cost is negligible: getline grows
> the buffer in powers of 2, so only lines that happen to be twice as long
> as any previously encountered line pay the price.
Actually, I went to skim t
ap
code path is not taken (ie. either stream is not seekable (determined
with isatty), or if grep was built -DSMALL (bsd.rd grep I think), or if
mmap fails). And even then I think the cost is negligible: getline grows
the buffer in powers of 2, so only lines that happen to be twice as long
as any previously encountered line pay the price.
--
Lauri Tirkkonen | lotheac @ IRCnet
s used for each
line, and libc getline() reallocates it if it is not large enough.
--
Lauri Tirkkonen | lotheac @ IRCnet
On Wed, Jan 23 2019 18:01:24 -0500, Ted Unangst wrote:
> Lauri Tirkkonen wrote:
> > > > oh, interesting. that's sloppy. can you please fix that first,
> > > > separately?
> > >
> > > Sure, here it is.
> >
> > Could you please take a look
On Mon, Jan 07 2019 23:01:47 +0200, Lauri Tirkkonen wrote:
> On Mon, Jan 07 2019 15:41:53 -0500, Ted Unangst wrote:
> > Lauri Tirkkonen wrote:
> > > On Sun, Jan 06 2019 14:02:16 -0500, Ted Unangst wrote:
> > > > Lauri Tirkkonen wrote:
> > > > > Hi
On Wed, Jan 16 2019 11:00:04 +0100, Ingo Schwarze wrote:
> Lauri Tirkkonen wrote on Mon, Jan 07, 2019 at 08:13:09PM +0200:
>
> > Hi, it seems install(1) has a race condition: in create_newfile, it
> > first unlinks the target file and then tries to open it with
n't increment a counter for the nodata frames
anymore, but that seems reasonable since we are indeed using them for
something, not ignoring them completely.
--
Lauri Tirkkonen | lotheac @ IRCnet
On Mon, Jan 14 2019 16:41:13 +0200, Lauri Tirkkonen wrote:
> > Indeed, my diff was bad as well. Thanks for spotting these issues.
> > I hadn't run this diff yet cause I was still building a new snapshot
> > to test it. Could you also test this new version please?
>
> I'm
> > 3) where is IEEE80211_FC0_SUBTYPE_CF_ACK_CF_POLL?
>
> Indeed, my diff was bad as well. Thanks for spotting these issues.
> I hadn't run this diff yet cause I was still building a new snapshot
> to test it. Could you also test this new version please?
I'm not currently physically near my AP, but the diff looks good and I
can test it later today.
--
Lauri Tirkkonen | lotheac @ IRCnet
On Mon, Jan 07 2019 23:01:47 +0200, Lauri Tirkkonen wrote:
> On Mon, Jan 07 2019 15:41:53 -0500, Ted Unangst wrote:
> > Lauri Tirkkonen wrote:
> > > On Sun, Jan 06 2019 14:02:16 -0500, Ted Unangst wrote:
> > > > Lauri Tirkkonen wrote:
> > > > > Hi
TYPE_NODATA |
> + IEEE80211_FC0_SUBTYPE_CF_POLL_NODATA |
> + IEEE80211_FC0_SUBTYPE_CF_ACK_NODATA)) {
1) shouldn't we first check that type is data here?
2) isn't this a false positive for subtype ==
IEEE80211_FC0_SUBTYPE_DATA_CF_ACK and subtype ==
IEEE80211_FC0_SUBTYPE_DATA_FC_POLL, since the _NODATA versions are just
the _DATA_ bits ORed with FC0_SUBTYPE_NODATA? I think we should either
check (subtype & IEEE80211_FC0_SUBTYPE_NODATA), or test subtype's
equality to each of the possible NODATA macros.
3) where is IEEE80211_FC0_SUBTYPE_CF_ACK_CF_POLL?
--
Lauri Tirkkonen | lotheac @ IRCnet
/* drop unencrypted */
ic->ic_stats.is_rx_unencrypted++;
goto err;
--
Lauri Tirkkonen | lotheac @ IRCnet
t this patch then? I think the discussion about softupdates
is a little orthogonal.
--
Lauri Tirkkonen | lotheac @ IRCnet
t directories are created as required.
This option cannot be used with the
.Fl B , b , C , c ,
-.Fl f , p , S ,
+.Fl f , p ,
or
.Fl s
options.
@@ -198,9 +198,8 @@ The
.Fl C ,
.Fl D ,
.Fl F ,
-.Fl p ,
and
-.Fl S
+.Fl p
flags are non-standard and should not be relied upon for portability.
.Pp
Temporary files may be left in the target directory if
--
Lauri Tirkkonen | lotheac @ IRCnet
On Mon, Jan 07 2019 15:48:25 -0500, Ted Unangst wrote:
> Lauri Tirkkonen wrote:
> > Hi, it seems install(1) has a race condition: in create_newfile, it
> > first unlinks the target file and then tries to open it with
> > O_CREAT|O_EXCL.
>
> > The below diff ess
On Mon, Jan 07 2019 15:41:53 -0500, Ted Unangst wrote:
> Lauri Tirkkonen wrote:
> > On Sun, Jan 06 2019 14:02:16 -0500, Ted Unangst wrote:
> > > Lauri Tirkkonen wrote:
> > > > Hi, another simple diff converting fgetln usage to getline.
> > > >
> &
On Sun, Jan 06 2019 14:02:16 -0500, Ted Unangst wrote:
> Lauri Tirkkonen wrote:
> > Hi, another simple diff converting fgetln usage to getline.
> >
> > I also considered converting grep_fgetln to grep_getline, but that would
> > mean that for FILE_MMAP we'd have to co
On Mon, Jan 07 2019 20:13:09 +0200, Lauri Tirkkonen wrote:
> @@ -128,9 +127,6 @@ main(int argc, char *argv[])
> case 'p':
> docompare = dopreserve = 1;
> break;
> - case 'S':
> -
amp; errno != ENOENT)
- err(1, "rename: %s to %s (errno %d)", path, backup,
errno);
- } else {
- if (unlink(path) < 0 && errno != ENOENT)
- err(1, "%s", path);
- }
-
- return(open(path, O_CREAT | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR));
-}
-
/*
* file_write()
* Write/copy a file (during copy or archive extract). This routine knows
--
Lauri Tirkkonen | lotheac @ IRCnet
r(f))
err(2, "%s", fn);
fclose(f);
+ free(line);
}
int
--
Lauri Tirkkonen | lotheac @ IRCnet
and
.Fn getgrnam_r
functions may fail if:
--
Lauri Tirkkonen | lotheac @ IRCnet
On Wed, Dec 12 2018 11:09:18 +0100, Mark Kettenis wrote:
> > Date: Wed, 12 Dec 2018 01:27:24 +0200
> > From: Lauri Tirkkonen
> >
> > Hi,
> >
> > since the Xorg setuid bit was removed, I looked a little bit into what
> > it would take to run it wit
argh:
On Wed, Dec 12 2018 10:26:42 +0200, Lauri Tirkkonen wrote:
> > What was the issue that prompted you to make this change ?
>
> The console was not opened otherwise if euid==0
euid != 0, I meant.
--
Lauri Tirkkonen | lotheac @ IRCnet
r. Unfortnatly, even the other KMS based driver (intel and
> radeon) still need more work to run without some root privileges.
true, I did not test other drivers.
> And older drivers (non AMD/intel cards) will stop working completly.
I don't see how that follows. This change *relaxes* the requirements for
becoming master on /dev/drm0 (they no longer have to be root), how would
that cause those older drivers to stop working?
--
Lauri Tirkkonen | lotheac @ IRCnet
es master */
file_priv->is_master = SPLAY_EMPTY(>files);
+ if (!file_priv->authenticated)
+ file_priv->authenticated = file_priv->is_master;
SPLAY_INSERT(drm_file_tree, >files, file_priv);
mutex_unlock(>struct_mutex);
--
Lauri Tirkkonen | lotheac @ IRCnet
On Thu, Aug 23 2018 11:24:54 -0500, Scott Cheloha wrote:
> On Tue, Aug 14, 2018 at 03:11:47PM -0500, Scott Cheloha wrote:
> > This patch is ok cheloha@ and I can commit if someone else
> > is ok, too.
>
> 1 week bump. Anyone else ok?
no takers?
--
Lauri Tirkkonen | lotheac @ IRCnet
e name or abbreviated name of a month:
in that case a calendar is displayed for that month of the current year.
--
Lauri Tirkkonen | lotheac @ IRCnet
On Tue, Aug 14 2018 14:29:30 -0500, Scott Cheloha wrote:
> On Tue, Aug 14, 2018 at 08:55:14PM +0300, Lauri Tirkkonen wrote:
> > Hi,
> >
> > On Tue, Aug 14 2018 12:08:54 -0500, Scott Cheloha wrote:
> > > > + len = (size_t)linelen;
> > >
}
}
+ if (ferror(listfp))
+ warn("%s: getline", file);
+ free(line);
if (listfp != stdin)
fclose(listfp);
if (!found)
warnx("%s: no properly formatted checksum lines found", file);
- free(lbuf);
if (sel_found != NULL) {
/*
* Mark found files by setting them to NULL so that we can
--
Lauri Tirkkonen | lotheac @ IRCnet
n the manpage.
--
Lauri Tirkkonen | lotheac @ IRCnet
On Tue, Jul 17 2018 21:14:29 +0300, Lauri Tirkkonen wrote:
> In the same vein as my previous diff for join(1), make paste(1) use
> getline instead of fgetln.
ping. the join(1) fix was committed but this one still needs attention.
--
Lauri Tirkkonen | lotheac @ IRCnet
le containing a list of
addresses and may be one of
.Ar http ,
+.Ar https ,
.Ar ftp ,
.Ar file ,
or
.Ar exec .
The
.Ar http ,
+.Ar https ,
.Ar ftp ,
and
.Ar file
--
Lauri Tirkkonen | lotheac @ IRCnet
; > need to unconditionally NUL-terminate lp->line.
>
> Perhaps something like this.
you beat me to it, and yours is better (I decremented len before
calculating fpos without thinking) :)
--
Lauri Tirkkonen | lotheac @ IRCnet
((fieldp = strsep(, tabchar)) != NULL) {
if (spans && *fieldp == '\0')
continue;
@@ -393,6 +395,7 @@ slurpit(INPUT *F)
break;
}
}
+ free(line);
}
int
--
Lauri Tirkkonen | lotheac @ IRCnet
break;
if ((ch = *dp++))
putchar(ch);
@@ -215,8 +208,8 @@ sequential(char **argv)
}
if (fp != stdin)
(void)fclose(fp);
- free(lbuf);
}
+ free(line);
}
int
--
Lauri Tirkkonen | lotheac @ IRCnet
t;fieldcnt = 0;
+ bp = lp->line;
while ((fieldp = strsep(, tabchar)) != NULL) {
if (spans && *fieldp == '\0')
continue;
@@ -393,6 +395,7 @@ slurpit(INPUT *F)
break;
On Wed, Jun 20 2018 12:19:43 +0300, Lauri Tirkkonen wrote:
> "from local" rules are missing a space when printed out with -T rules.
>
> diff --git a/usr.sbin/smtpd/to.c b/usr.sbin/smtpd/to.c
> index e1d399d74f2..27d5321408f 100644
> --- a/usr.sbin/smtpd/to.c
&g
(void)strlcat(buf, "from local ", sizeof buf);
else {
(void)strlcat(buf, "from src ", sizeof buf);
(void)strlcat(buf, r->table_from, sizeof buf);
--
Lauri Tirkkonen | lotheac @ IRCnet
It too goes away when switching to intel driver, so
perhaps your diff isn't quite sufficient (although granted, with Haswell
the effect is so much less noticeable, it may not be a problem).
--
Lauri Tirkkonen | lotheac @ IRCnet
uhub0 port 1 configuration 1 interface 0 "Intel Rate Matching Hub" rev
2.00/0.00 addr 2
uhub3 at uhub1 port 1 configuration 1 interface 0 "Intel Rate Matching Hub" rev
2.00/0.00 addr 2
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
sd1 at scsibus3 targ 1 lun 0: <OPENBSD, SR CRYPTO, 006> SCSI2 0/direct fixed
sd1: 28623MB, 512 bytes/sector, 58620593 sectors
root on sd1a (1e3f2d2fd0a15e70.a) swap on sd1b dump on sd1b
--
Lauri Tirkkonen | lotheac @ IRCnet
On Sat, Dec 30 2017 19:41:24 +0100, Klemens Nanni wrote:
> On Fri, Dec 29, 2017 at 03:55:10PM +0200, Lauri Tirkkonen wrote:
> > Currently paste(1) silently does nothing if it's given no file
> > arguments:
> >
> > % printf 'hello\nworld\n'|paste
> > %
if (seq)
- sequential(argv);
+ sequential(files);
else
- parallel(argv);
+ parallel(files);
exit(0);
}
--
Lauri Tirkkonen | lotheac @ IRCnet
messages.
--
Lauri Tirkkonen | lotheac @ IRCnet
96 matches
Mail list logo