Re: cksum.1: use imperative tense

2023-08-16 Thread patrick keshishian
On Wed, Aug 16, 2023 at 7:02 PM Klemens Nanni wrote: > > Consistent with other options and our manuals in general. > > Index: cksum.1 > === > RCS file: /cvs/src/bin/md5/cksum.1,v > retrieving revision 1.40 > diff -u -p -r1.40 cksum.1

Re: awk FS behaviour change

2020-06-27 Thread patrick keshishian
On Sat, Jun 27, 2020 at 06:50:39AM +0100, Jason McIntyre wrote: > On Fri, Jun 26, 2020 at 09:28:00PM -0600, Todd C. Miller wrote: > > On Fri, 26 Jun 2020 23:56:23 +0200, Klemens Nanni wrote: > > > > > How about adding something like "Therefore, FS should be set with -F or > > > in a BEGIN block be

Re: dhcpleased(8): ignore servers / parts of lease

2021-08-08 Thread patrick keshishian
On Sun, Aug 08, 2021 at 12:37:54PM +0200, Florian Obser wrote: > This implements ignoring of nameservers and / or routes in leases as > well as completely ignoring servers (you cannot block rogue DHCP servers > in pf because bpf sees packets before pf). > > Various people voiced the need for these

Re: sed(1) make -i behave a little nicer

2018-12-07 Thread patrick keshishian
On Fri, Dec 07, 2018 at 08:41:21AM +0100, Martijn van Duren wrote: > I ran into a few minor nuisances with sed's -i mode, which are mostly > compatible with gnu sed, but I reckon we should address. > > The problem is sed works by writing the output to a second file in the > same directory as the

Re: ipmi(4): don't block interrupts/systq long time

2019-06-07 Thread patrick keshishian
On Fri, Jun 07, 2019 at 07:29:19PM +0900, Naoki Fukaumi wrote: > hi tech@, > > here is another patch for another issue for ipmi(4). > > ipmi_sendcmd() and ipmi_recvcmd() are always called in order/pairs as a > single task of a single-threaded taskq, remove mutex from there. this > avoids interrup

Mention Smart Battery Data Spec in smbus.h

2022-03-05 Thread patrick keshishian
Hello, I took a wrong turn, and got interested in where the SMBATT_CMD_* defines were sourced. Adding a reference to Smart Battery Data Spec might save someone else the time searching through ACPI spec, then SMBus spec, to finally arriving at the answer. Is the following diff acceptable? I belie

Re: Mention Smart Battery Data Spec in smbus.h

2022-03-05 Thread patrick keshishian
ts are sourced would be beneficial. How about either of the following to variants. Version 1: Indicate reference material at relevant section. Version 2: List references material at top in one comment block. Best, --patrick > On Fri, 4 Mar 2022, patrick keshishian wrote: > > > Hello,

Re: New snapshots -> new installer

2009-05-08 Thread patrick keshishian
On Fri, May 08, 2009 at 03:30:48PM -0400, System Administrator wrote: > On 7 May 2009 at 21:06, patrick keshishian wrote: > > > On Wed, May 6, 2009 at 7:25 PM, patrick keshishian > > wrote: > > > On Wed, May 6, 2009 at 2:21 PM, Theo de Raadt > > wrote: >

Re: smtpd.c.diff - unbroken and KNF'ed a bit

2009-05-27 Thread patrick keshishian
On Wed, May 27, 2009 at 12:09:45PM +0300, Gregory Edigarov wrote: > Sorry for the first one. > If there's something wrong with style again, please tell me exactly > what. I will edit it again. > > -- > With best regards, > Gregory Edigarov > --- smtpd.c.orig Tue May 26 23:11:26 2009

Re: New snapshots -> new installer

2009-05-28 Thread patrick keshishian
On Thu, May 28, 2009 at 12:04 PM, Thomas Pfaff wrote: > On Wed, 6 May 2009 15:21:44 -0600 (MDT) > Theo de Raadt wrote: >> The newest snapshots that are headed out have a new install script based >> on heavy modifications by a bunch of developers over the last 3 weeks. > > May 20th snapshot. B "Do

anoncvssh.c not in src tree

2009-06-03 Thread patrick keshishian
Hi all, Just curious, is there any reason why anoncvssh.c isn't in the src tree? --patrick

Re: azalia: use line out jack colors in mixer names

2009-06-20 Thread patrick keshishian
On Sat, Jun 20, 2009 at 11:18:44AM +, Jacob Meuser wrote: > for codecs with multiple line out jacks, this patch would use the > color of the jack (according to the codec) in the name instead > of enumerating the jacks, if all the line out jack have different > colors. for example: > > outputs

Installer Insists on Keeping HFS Partition

2009-07-05 Thread patrick keshishian
Greetings, I grabbed a snapshot from July 3rd to install on my macppc. I've been meaning to get rid of my MacOS X partition off of this ibook for a while, and this installation was going to be the one to do it. So I think I was doing things correctly to achieve this goal, namely, choosing MBR vs

Re: Elite3d Acceleration on Sparc64 (firmware blob fun)

2009-07-21 Thread patrick keshishian
On Mon, Jul 20, 2009 at 10:46:17PM +0200, Mark Kettenis wrote: > Ugh, it seems that afbinit code does some sneaky word swapping. > Here's a new diff. > > > Index: creator.c > === > RCS file: /cvs/src/sys/arch/sparc64/dev/creator.c,v

Re: Signal handling question

2009-10-23 Thread patrick keshishian
On Sun, Oct 18, 2009 at 03:50:17PM -0700, Philip Guenther wrote: > On Sun, Oct 18, 2009 at 12:49 AM, Matt Fisher wrote: > > You're correct. I got started on this train of thought after reading > > an old USENIX paper[1]. The line I suggested for deletion is identical > > to what section 1.2.1 of t

ksh experts take a look please (tiny patch inside)

2009-11-21 Thread patrick keshishian
I wonder if included patch is a correct fix for the following "glitch" I'm seeing with ksh in `set -o vi' mode: Demonstration of "glitch": $ touch a.c a.h $ ls a. ls: a.: No such file or directory $ a.c a.h $ With patch: $ ls a.

Re: ksh experts take a look please (tiny patch inside)

2009-11-21 Thread patrick keshishian
On Sat, Nov 21, 2009 at 09:15:17PM -0800, patrick keshishian wrote: > I wonder if included patch is a correct fix for the following > "glitch" I'm seeing with ksh in `set -o vi' mode: > > Demonstration of "glitch": > $ touch a.c a.h > $

Re: ksh experts take a look please (tiny patch inside)

2009-11-22 Thread patrick keshishian
Hi Philip, On Sun, Nov 22, 2009 at 09:11:14PM -0800, Philip Guenther wrote: > On Sat, Nov 21, 2009 at 9:21 PM, patrick keshishian > wrote: > > On Sat, Nov 21, 2009 at 09:15:17PM -0800, patrick keshishian wrote: > >> I wonder if included patch is a correct fix for the follow

Re: diff: ifconfig tun to print opener pid

2009-12-03 Thread patrick keshishian
On Fri, Dec 04, 2009 at 09:34:31AM +0200, Vladimir Kirillov wrote: > Hello t...@! > > Here's a diff for tun to make it keep record and display the > pid of tunnel owner process in ifconfig. > I'm sure it would be a handy feature, hope you'll like it. [dd] > @@ -561,6 +566,15 @@ tun_ioctl(struct if

Re: [patch] lib/libc/yp/yp_all.c mem leak

2010-01-08 Thread patrick keshishian
On Fri, Jan 08, 2010 at 03:47:48PM +0300, Igor Zinovik wrote: > Hello, t...@. > > A bit tricky code in yp_all.c `val' is not freed. It might be > allocated but might be not freed > when `key' allocation failed. > > Index: lib/libc/yp/yp_all.c > =

Re: If you are one of the cool kids who cranks kern.bufcachepercent up..

2010-01-09 Thread patrick keshishian
On Sat, Jan 09, 2010 at 04:05:13AM -0700, Bob Beck wrote: [dd] > -Bob > > > Index: kern/vfs_subr.c > === > RCS file: /cvs/src/sys/kern/vfs_subr.c,v > retrieving revision 1.184 > diff -u -r1.184 vfs_subr.c > @@ -350,7 +359,7 @@ >

Re: If you are one of the cool kids who cranks kern.bufcachepercent up..

2010-01-09 Thread patrick keshishian
On Sat, Jan 09, 2010 at 06:35:45PM -0500, Ted Unangst wrote: > On Sat, Jan 9, 2010 at 6:22 PM, Joerg Sonnenberger > wrote: > > You have analysed the situation correctly. The problem is that the > > compiler does not know that the signed numvnodes is never negative, so > > it creates different code

Re: mprotect(2) misbehaves when len == 0?

2010-02-12 Thread patrick keshishian
On Fri, Feb 12, 2010 at 10:48:00AM +0300, Vadim Zhukov wrote: > On 12 February 2010 P3. 03:31:22 Jordi Beltran Creix wrote: > > Wouldn't that return EINVAL unless the address is aligned to the page > > boundary? > > >From the man page: > "The OpenBSD implementation of mprotect() does not require a

Re: suggested patch to httpd.conf in base

2010-03-12 Thread patrick keshishian
does disabling this option /really/ improve security? On Fri, Mar 12, 2010 at 9:41 AM, Brad Tilley wrote: > When ran against default OpenBSD servers that have Apache enabled, > vulnerability assessment software (Nessus, Rapid7, etc.) complain about > "browesable web directories". The concern is

Re: [patch] ksh: autocomplete special characters

2010-04-03 Thread patrick keshishian
On Sun, Apr 04, 2010 at 02:23:35PM +0930, Matthew Haub wrote: > Hello, > > On Sun, Apr 04, 2010 at 11:41:56AM +0930, Matthew Haub wrote: > > The following patch fixes ksh autocomplete support for files within > > directories containing []:`$= characters. This also fixes the problem > > ray@ was ex

tmux patch to ignore SIGCHLD in client

2010-04-07 Thread patrick keshishian
Howdy, I noticed that starting tmux initially, where the client would fork() the server, would leave a zombie process[0] around until detaching from session. This patch[1] sets SIGCHLD handler to SIG_IGN, which solves the zombied process issue. I'm not sure if this is the best place to put this

dhclient-script patch to preserve resolv.conf.save

2010-04-07 Thread patrick keshishian
Hello, At home I use static IPs, but when I take my laptop to work I end up using DHCP. Typically there are no issues, however, at work, if the link goes down, when it comes back up, the saved resolv.conf file gets clubbered with previous DHCP-ed version and leaves me to reconstruct my resolv.conf

Re: [patch] Re: hacking pfkey: a few questions

2010-04-11 Thread patrick keshishian
On Sun, Apr 11, 2010 at 08:47:38PM +0200, Toni Mueller wrote: > Hi, > > I've created a rough patch that should fix the immediate problem, but > is certainly far from perfect (yet). Things to note: > > * No IPv6 support (I have no clue). > * No useful error messages - I want to log data about the

Re: [patch] Re: hacking pfkey: a few questions

2010-04-11 Thread patrick keshishian
On Sun, Apr 11, 2010 at 09:40:45PM +0200, Toni Mueller wrote: > Hi Patrick, > > On Sun, 11.04.2010 at 11:58:54 -0700, patrick keshishian > wrote: > > inet_ntoa will return pointer to a static buffer. Each call > > TO IT Will override thsi buffer with the new IP info.

Re: [patch] Re: hacking pfkey: a few questions

2010-04-11 Thread patrick keshishian
On Mon, Apr 12, 2010 at 06:54:31AM +0200, Bret S. Lambert wrote: > On Sun, Apr 11, 2010 at 01:43:11PM -0700, patrick keshishian wrote: > > On Sun, Apr 11, 2010 at 09:40:45PM +0200, Toni Mueller wrote: > > > Hi Patrick, > > > > > > On Sun, 11.04.2010 a

Re: dhclient-script patch to preserve resolv.conf.save

2010-04-14 Thread patrick keshishian
No bueno? On Wed, Apr 07, 2010 at 01:30:34AM -0700, patrick keshishian wrote: > Hello, > > At home I use static IPs, but when I take my laptop to work I > end up using DHCP. Typically there are no issues, however, at > work, if the link goes down, when it comes back up, the save

Re: dhclient-script patch to preserve resolv.conf.save

2010-04-15 Thread patrick keshishian
On Thu, Apr 15, 2010 at 10:02:07AM -0400, Ian Darwin wrote: > patrick keshishian wrote: > >> > >>I believe there is no good reason for dhclient-script to > >>override an already existing /etc/resolv.conf.save file. > >> > This would not be good fo

macppc: ld.so/dlopen breakage?

2010-08-03 Thread patrick keshishian
Greetings, I'm moving this discussion [1] from misc@ over here as suggested by a openbsd developer. Summary: Noticed with a few snapshots that Xorg kept crashing. Per Matthieu Herrb I built xenocara with debug to get better info, but that made Xorg not crash. Next building firefox-3.6.8 from port

Re: macppc: ld.so/dlopen breakage?

2010-08-03 Thread patrick keshishian
On Tue, Aug 03, 2010 at 11:05:16AM +0200, Mark Kettenis wrote: > > X-Authentication-Warning: roppongi.boxsoft.com: sidster set sender to > > sids...@boxsoft.com using -f > > Date: Tue, 3 Aug 2010 01:48:21 -0700 > > From: patrick keshishian > > > > Greetings,

Re: macppc: ld.so/dlopen breakage?

2010-08-03 Thread patrick keshishian
On Tue, Aug 03, 2010 at 11:05:16AM +0200, Mark Kettenis wrote: > > X-Authentication-Warning: roppongi.boxsoft.com: sidster set sender to > > sids...@boxsoft.com using -f > > Date: Tue, 3 Aug 2010 01:48:21 -0700 > > From: patrick keshishian > > > > Greetings,

Re: macppc: ld.so/dlopen breakage?

2010-08-03 Thread patrick keshishian
On Tue, Aug 03, 2010 at 09:39:19PM -0400, Brad wrote: > On Tuesday 03 August 2010 21:34:53 patrick keshishian wrote: > > On Tue, Aug 03, 2010 at 11:05:16AM +0200, Mark Kettenis wrote: > > > > X-Authentication-Warning: roppongi.boxsoft.com: sidster set sender to > > >

ld.so: resolve.[ch]

2010-08-04 Thread patrick keshishian
Looking around I noticed changes introduced to resolve.[ch] under libexec/ld.so that seem a bit "off"; potential oversight or maybe by design? Looking at cvs diff snippets here: } Index: resolve.c } === } RCS file: /cvs/obsd/src/libe

Re: macppc: ld.so/dlopen breakage?

2010-08-04 Thread patrick keshishian
On Wed, Aug 04, 2010 at 11:11:24PM +0200, Mark Kettenis wrote: > > Date: Tue, 3 Aug 2010 21:16:46 -0700 > > From: patrick keshishian > > > > On Tue, Aug 03, 2010 at 09:39:19PM -0400, Brad wrote: > > > On Tuesday 03 August 2010 21:34:53 patrick keshishian wrote: &

Re: macppc: ld.so/dlopen breakage?

2010-08-05 Thread patrick keshishian
On Wed, Aug 4, 2010 at 9:00 PM, patrick keshishian wrote: > On Wed, Aug 04, 2010 at 11:11:24PM +0200, Mark Kettenis wrote: >> > Date: Tue, 3 Aug 2010 21:16:46 -0700 >> > From: patrick keshishian >> > >> > On Tue, Aug 03, 2010 at 09:39:19PM -0400, Brad wro

Re: Testing NSD

2010-08-22 Thread patrick keshishian
On Sun, Aug 22, 2010 at 11:35:50AM +0200, Jakob Schlyter wrote: > hi, Hello. > I've just update the in-tree version of NSD to v3.2.6 and would really > appreciate some testing results on various platforms as well as feedback on > the default configuration. > > The next step - if everything works

Re: Testing NSD

2010-08-25 Thread patrick keshishian
On Wed, Aug 25, 2010 at 2:46 AM, Stuart Henderson wrote: > On 2010/08/25 11:57, Gregory Edigarov wrote: >> On Mon, 23 Aug 2010 07:30:25 +0200 >> Jakob Schlyter wrote: >> >> > On 23 aug 2010, at 04.16, patrick keshishian wrote: >> > >> > > Is t

Re: Looking for testers for a simple X test

2010-08-30 Thread patrick keshishian
On Mon, Aug 30, 2010 at 11:31:25PM +0200, Mark Kettenis wrote: > The Xorg xserver runs a scary amount of code in a signal handler. > It's supposed to make your mouse cursor move more smoothly, but I > can't spot the difference when I disable that "feature". Instead, > this "feature" breaks certain

Re: Looking for testers for a simple X test

2010-08-31 Thread patrick keshishian
On Mon, Aug 30, 2010 at 9:12 PM, Theo de Raadt wrote: >> How can you tell whether this option is turned on by default >> or not? xorg.conf(5) indicates that the default is platform >> dependent and that this option in general should only be used >> as a work-around to a bug until fixed. > > The X

pthread_join() not interruptable?

2010-09-08 Thread patrick keshishian
Hola, I'm not sure if the subject line is worded correctly, but chasing another problem I noticed that a thread (e.g., main thread) after call to pthread_join() isn't interrupted to handle signals. Same .c file on another OS works as expected. Is my expectation or .c file incorrect, or is this a

Re: pkg_add.1

2016-02-08 Thread patrick keshishian
On Mon, Feb 08, 2016 at 07:28:24PM +0100, Marc Espie wrote: > On Sun, Feb 07, 2016 at 09:42:32AM -0600, joshua stein wrote: > > We don't recommend FTP mirrors anymore, installing a package via a > > pipe doesn't seem to work anymore, and packages have to be signed to > > be installed so the advice

Re: Allow top(1) to search arguments

2016-02-10 Thread patrick keshishian
On Wed, Feb 10, 2016 at 11:04:18PM +, Edd Barrett wrote: > Hey, > > I'd like top(1)'s filter feature (-g) to search process arguments. This > would make searching for (e.g.) Python scripts by name much easier. The > current behaviour only searches the program name, which for scripts is > the i

Re: synaptics: two-finger scrolling and coasting

2016-04-21 Thread patrick keshishian
fwiw, I've been running this on my lenovo x120e for a the week. --patrick On 4/21/16, Ulf Brosziewski wrote: > Ping? > > It isn't a severe bug and it doesn't concern a spectacular feature, > but shouldn't we fix it? > > > On 04/16/2016 06:01 PM, Ulf Brosziewski wrote: >> The changes I have introd

[patch] theo.c [was: TLS now supported on openbsd.org?]

2016-05-09 Thread patrick keshishian
if I didn't, someone else would. Index: theo.c === RCS file: /cvs/src/usr.bin/mg/theo.c,v retrieving revision 1.150 diff -u -p -u -p -r1.150 theo.c --- theo.c 23 Dec 2015 19:37:34 - 1.150 +++ theo.c 10 May 2016 03:0

Re: [patch] theo.c [was: TLS now supported on openbsd.org?]

2016-05-09 Thread patrick keshishian
that back. You wanna complain about me, great. bring it. But cut someone a > break who is trying to do the right thing on both sides. > > On Monday, 9 May 2016, patrick keshishian wrote: > >> if I didn't, someone else would. >> >> Index: theo.c >>

Re: ulpt read interface

2017-05-25 Thread patrick keshishian
Ping? On Thu, May 18, 2017 at 07:35:31PM -0700, patrick keshishian wrote: > Hello, > > I would like to propose adding a ulptread call to the ulpt(4). > > This diff adds ulptread and ulpt_do_read functions, similar to > ultpwrite and ulpt_do_write (essentially copy/paste/e

Re: detect post threaded condition

2017-05-30 Thread patrick keshishian
On Tue, May 30, 2017 at 03:48:06AM -0400, Ted Unangst wrote: > talking to stsp, he reminded me of a problematic bug that took some time to > track down in some desktop software that shall not be named. after a program > calls fork(), the child has only a single thread. per the standard, it needs >

Re: [PATCH] rm(1): add -v option for verbosity

2017-06-25 Thread patrick keshishian
On Sun, Jun 25, 2017 at 11:16:00PM +0200, Ingo Schwarze wrote: > Hi, > > Paul de Weerd wrote on Sun, Jun 25, 2017 at 10:46:15PM +0200: > > On Sun, Jun 25, 2017 at 03:12:26PM +0200, Ingo Schwarze wrote: > > > | If you are really unsure, study the output of > > | $ find * > > | first, before typi

Re: enum unsigned or not?

2017-08-31 Thread patrick keshishian
On Thu, Aug 31, 2017 at 12:13:19PM -0700, William Ahern wrote: > On Thu, Aug 31, 2017 at 02:08:07PM +0200, Otto Moerbeek wrote: > > Hi, > > > > /usr/src/usr.sbin/sasyncd/carp.c:157:12: warning: comparison of > > unsigned enum expression < 0 is always false [-Wtautological-compare] > > if (

uvideo patches: u4l2_buf.flags [1/4]

2016-05-17 Thread patrick keshishian
1/4: Incorrect enum used for v4l2_buf.flags. This is a paste error I believe. Very simple diff Index: uvideo.c === RCS file: /cvs/obsd/src/sys/dev/usb/uvideo.c,v retrieving revision 1.185 diff -u -p -u -p -r1.185 uvideo.c --- uvi

uvideo patches: endpoint address vs index 0 [2/4]

2016-05-17 Thread patrick keshishian
2/4: Assumption on endpoint index to use in uvideo_vs_open() vs actual saved endpoint address. Index: uvideo.c === RCS file: /cvs/obsd/src/sys/dev/usb/uvideo.c,v retrieving revision 1.185 diff -u -p -u -p -r1.185 uvideo.c --- uvi

uvideo patches: Alternate Setting [3/4]

2016-05-17 Thread patrick keshishian
3/4: In uvideo_vs_set_alt(), according to the comment within while()-loop searches for an endpoint with requested bandwidth, or best match. An iterator index (int i) is used in the while()-loop, and eventually its value is used in usbd_set_interface(). Is the "matched" int

uvideo patches: Overview [0/4]

2016-05-17 Thread patrick keshishian
Greetings, I have been looking at uvideo trying to model a new driver I'm attempting to port over and found a few issues (or what I precive as issues). Since the list likes separate diffs for easier discussion, Here is my attempt to break them up in four emails. I think, with exception of one, al

uvideo patches: V4L2_BUF_FLAG_{DONE,QUEUED} [4/4]

2016-05-17 Thread patrick keshishian
4/4: I don't believe V4L2_BUF_FLAG_QUEUED and V4L2_BUF_FLAG_DONE flags are handled correctly in our uvideo driver. According to linuxtv.org Buffers Chap 3. Input/Output Table 3.4 Buffer Flags: https://www.linuxtv.org/downloads/legacy/video4linux/API/V4L2_API/spec-single/v4l2.html#buffer-flag

usbtv driver port (questions)

2016-05-24 Thread patrick keshishian
Hi, I have a "mostly working" driver port for Fushicai Audio-Video Grabber (vendor 0x1b71 product 0x3002). I've had the video bit working for a few days on amd64 and macppc. I finally managed to get the audio bit working this morning on amd64, but still an encoding issue (LE vs BE) on macppc. I'

Re: usbtv driver port (questions)

2016-05-25 Thread patrick keshishian
On Wed, May 25, 2016 at 08:45:29AM -0400, Ian Darwin wrote: > On 2016-05-25 7:57 AM, Marcus Glocker wrote: > >On Tue, May 24, 2016 at 04:46:57PM -0700, patrick keshishian wrote: > > > >>Hi, > >> > >>I have a "mostly working" driver port for Fus

Re: usbtv driver port (questions)

2016-05-25 Thread patrick keshishian
On Wed, May 25, 2016 at 01:57:36PM +0200, Marcus Glocker wrote: > On Tue, May 24, 2016 at 04:46:57PM -0700, patrick keshishian wrote: > > > Hi, > > > > I have a "mostly working" driver port for Fushicai Audio-Video > > Grabber (vendor 0x1b71 product

utvfu driver port

2016-05-26 Thread patrick keshishian
Hi, Included is my initial effort to port the dual-licensed driver for Fushicai Audio-Video Grabber (vendor 0x1b71 product 0x3002). As I mentioned in previous email it is "mostly working". I have tested it on amd64 and macppc. The macppc audio issue mentioned got resolved thanks to a hint from Al

Re: uvideo patches: Overview [0/4]

2016-05-26 Thread patrick keshishian
On Thu, May 26, 2016 at 10:55:47PM +0200, Marcus Glocker wrote: > On Tue, May 17, 2016 at 05:15:51PM -0700, patrick keshishian wrote: > > > Greetings, > > > > I have been looking at uvideo trying to model a new driver I'm > > attempting to port over and fo

Re: utvfu driver port

2016-05-27 Thread patrick keshishian
On Fri, May 27, 2016 at 08:41:33PM +0200, Marcus Glocker wrote: > Hello Patrick, > > On Thu, May 26, 2016 at 04:09:26PM -0700, patrick keshishian wrote: > > > Hi, > > > > Included is my initial effort to port the dual-licensed driver > > for Fushicai Audio-

Re: utvfu driver port

2016-06-01 Thread patrick keshishian
Hello, On Mon, May 30, 2016 at 04:22:56PM +0200, Martin Pieuchot wrote: > On 26/05/16(Thu) 16:09, patrick keshishian wrote: > > > > Included is my initial effort to port the dual-licensed driver > > for Fushicai Audio-Video Grabber (vendor 0x1b71 product 0x3002). > &g

Re: utvfu driver port

2016-06-01 Thread patrick keshishian
On Wed, Jun 01, 2016 at 08:58:21AM +0200, Marcus Glocker wrote: > On Wed, Jun 01, 2016 at 12:51:22AM -0400, Ted Unangst wrote: > > > Marcus Glocker wrote: > > > Me too. Would it be ok to merge utvfu.c and utvfu_ops.c by including > > > both Copyrights in this file? Should it be > > > > > > [C

Re: utvfu driver port

2016-06-01 Thread patrick keshishian
On Wed, Jun 01, 2016 at 12:24:43AM -0700, patrick keshishian wrote: > On Wed, Jun 01, 2016 at 08:58:21AM +0200, Marcus Glocker wrote: > > On Wed, Jun 01, 2016 at 12:51:22AM -0400, Ted Unangst wrote: > > > > > Marcus Glocker wrote: > > > > Me too. Would it be

Re: utvfu driver port

2016-06-01 Thread patrick keshishian
On Wed, Jun 01, 2016 at 12:04:38PM +0200, Stefan Sperling wrote: > On Wed, Jun 01, 2016 at 01:40:14AM -0700, patrick keshishian wrote: > > Here it is... > > Thanks patrick! > > As far as I can see we don't have a man page for this driver yet. > Could you provide one

Re: splraise for sparc

2016-06-14 Thread patrick keshishian
On Mon, Jun 13, 2016 at 11:29:13AM +1000, David Gwynne wrote: > this is kind of like the change i just made to sparc64. > > sparc created instances of inline functions for each of the splfoo > calls. this provides an splraise call and turns splfoo into a macro > to splraise(IPL_FOO). > > the spl

Re: xdm halt & reboot buttons

2016-07-01 Thread patrick keshishian
On 7/1/16, Matthieu Herrb wrote: > On Fri, Jul 01, 2016 at 02:22:57PM +0100, Craig Skinner wrote: >> Hi Alexander, >> >> On 2016-06-30 Thu 20:58 PM |, Alexander Hall wrote: >> > >> > 1. xmessage has an sometimes useful, but in general awful, interface. >> >> Aye,... simple, in base & functional. >

step missing from "2016/10/14" followig -current?

2016-10-28 Thread patrick keshishian
Instructions say: $ cd /sys $ rm -r arch/*/compile/[GR]* $ rm arch/*/compile/.cvsignore $ cvs up The new way of configuring, building and installing a kernel is: $ cd /sys/arch/$(machine)/compile/GENERIC.MP $ doas make obj $ make config

paste-o fix in comment + load average question

2016-11-11 Thread patrick keshishian
Hi, For a long time I was running an amd64 snapshot from 2016/03/30, then I installed a snapshot from 2016/10/09 on four machines (two laptops, a desktop and a 1U supermicro). One apparent difference was that the load average on all four machines idled at slightly above 1 (1.12, 1.18, ...), about

Re: paste-o fix in comment + load average question

2016-11-12 Thread patrick keshishian
? Cheers, --patrick On Fri, Nov 11, 2016 at 01:23:26PM -0800, patrick keshishian wrote: > Hi, > > For a long time I was running an amd64 snapshot from 2016/03/30, > then I installed a snapshot from 2016/10/09 on four machines > (two laptops, a desktop and a 1U supermicro). &g

Re: systrace patch for chflagsat

2015-06-16 Thread patrick keshishian
Hi, On Sat, Jun 13, 2015 at 09:41:58PM -0700, Philip Guenther wrote: > On Thu, 4 Jun 2015, patrick keshishian wrote: > > With the cp(1) change to use chflagsat(), systrace needs to be taught > > about chflagsat syscall. databases/db/v4 port fails with > > USE_SYSTRACE=Ye

Re: PATCH: faq4.html edit the auto layout

2015-06-29 Thread patrick keshishian
Hi, On 6/29/15, Juan Francisco Cantero Hurtado wrote: > It's surprising but many users don't know the "R" option. OK? > > The webpage with the patch applied: > http://juanfra684.devio.us/tmp/faq4.html#InstDisks > > diff --git faq/faq4.html faq/faq4.html > index 51606b3..f2b9486 100644 > --- faq/f

Re: [patch] vi: fix "file modified more recently than this copy ..." error

2015-07-07 Thread patrick keshishian
ping? On 6/9/15, patrick keshishian wrote: > Hi, > > Noticed a regression with vi and recent changes to timespec > data types. > > To reproduce, run vi without a file name to edit. Try save buffer > via ":w" and you'll be presented by following message: >

Re: [patch] vi: fix "file modified more recently than this copy ..." error

2015-07-07 Thread patrick keshishian
On 7/7/15, Todd C. Miller wrote: > I prefer this diff instead. Thanks. I too like this better. --patrick > - todd > > Index: usr.bin/vi/common/exf.c > === > RCS file: /cvs/src/usr.bin/vi/common/exf.c,v > retrieving revision 1.36 >

Re: kern_tame.c: fix strncmp call

2015-08-23 Thread patrick keshishian
On 8/23/15, Caspar Schutijser wrote: > Patch below. > > Thanks, > Caspar Schutijser > > > Index: sys/kern/kern_tame.c > === > RCS file: /cvs/src/sys/kern/kern_tame.c,v > retrieving revision 1.25 > diff -u -p -r1.25 kern_tame.c > --- s

Re: kern_tame.c: fix strncmp call

2015-08-23 Thread patrick keshishian
Apologies, my eyes failed me on this. On 8/23/15, patrick keshishian wrote: > On 8/23/15, Caspar Schutijser wrote: >> Patch below. >> >> Thanks, >> Caspar Schutijser >> >> >> Index: sys/kern/kern_tame.c >> ==

Re: mktemp: Clarify error message

2017-12-25 Thread patrick keshishian
On 12/25/17, Otto Moerbeek wrote: > On Tue, Dec 26, 2017 at 12:31:02AM +0100, Klemens Nanni wrote: > >> On Mon, Dec 25, 2017 at 03:57:00PM -0700, Theo de Raadt wrote: >> > I think this is a silly solution, and the documentation is clear >> > enough. >> The manual page certainly is clear enough but

Re: libc: getusershell, new implementation

2015-12-05 Thread patrick keshishian
On Sat, Dec 05, 2015 at 01:25:10PM -0500, Ted Unangst wrote: > Tobias Stoeckmann wrote: > > > > And I still think that the current code is a bit too permissive in parsing > > things. I mean what's the point in allowing lines like: > > > > sometextwithoutspace/bin/ksh should be used for logins # s

Re: [PATCH]: Convert select() to poll() in amd/info_hes.c

2014-05-07 Thread patrick keshishian
On Wed, May 07, 2014 at 02:47:32PM +0100, Dimitris Papastamos wrote: > Hi, > > This piece of code now uses poll() instead of select(). > I have not got round to test this yet, but I will as soon as I have > a working setup. > > Thoughts? > > ==

Re: ANONCVS MIRROR MAINTAINERS.. YOU NEED TO READ THIS!

2014-06-25 Thread patrick keshishian
On Thu, Jun 26, 2014 at 06:37:00AM +0200, Alexander Hall wrote: > On 06/25/14 20:52, Bob Beck wrote: > >If you or someone you love runs an anoncvs server, they need to see this. > > > >As you know we recently added commitid support to cvs, and we had > >you update your cvsync binary. > > > >Unfortu

Re: ANONCVS MIRROR MAINTAINERS.. YOU NEED TO READ THIS!

2014-06-25 Thread patrick keshishian
On Wed, Jun 25, 2014 at 10:01:06PM -0700, patrick keshishian wrote: > On Thu, Jun 26, 2014 at 06:37:00AM +0200, Alexander Hall wrote: > > On 06/25/14 20:52, Bob Beck wrote: > > >If you or someone you love runs an anoncvs server, they need to see this. > > > > &g

Re: ANONCVS MIRROR MAINTAINERS.. YOU NEED TO READ THIS!

2014-06-26 Thread patrick keshishian
On Thu, Jun 26, 2014 at 10:19:09AM +0100, Stuart Henderson wrote: > On 2014/06/26 11:02, Mike Belopuhov wrote: > > On 26 June 2014 08:53, patrick keshishian wrote: > > > On Wed, Jun 25, 2014 at 10:01:06PM -0700, patrick keshishian wrote: > > >> On Thu, Jun 26, 2014

simple fstab.5 diff

2014-06-26 Thread patrick keshishian
fix missing forward-slash. Index: fstab.5 === RCS file: /cvs/obsd/src/share/man/man5/fstab.5,v retrieving revision 1.48 diff -u -p -u -p -r1.48 fstab.5 --- fstab.5 6 Jan 2014 00:52:21 - 1.48 +++ fstab.5 27 Jun 2014 0

Re: cvs admin for commitids

2014-06-30 Thread patrick keshishian
On Sun, Jun 29, 2014 at 07:39:59PM -0500, joshua stein wrote: > On Sun, 29 Jun 2014 at 19:37:18 -0500, joshua stein wrote: > > This adds a -C option to cvs's admin command which can add, change, > > or delete a revision's commitid. I couldn't find any similar > > functionality in any other CVS imp

Re: lynx: disable old protocols

2014-07-11 Thread patrick keshishian
On 7/11/14, Theo de Raadt wrote: > If lynx was removed from base, and only available in ports... how many of > you would even know of it's existance and use it? asking rhetorically? either way, yes, I would install lynx if it wasn't in base. I use it on a daily basis. --patrick

Re: mallocarray() in sys/dev, first pass

2014-07-13 Thread patrick keshishian
On Sun, Jul 13, 2014 at 11:29:22AM -0600, dera...@cvs.openbsd.org wrote: > This is the first pass of mallocarray() in sys/dev. Please proofread. [...] > === > RCS file: /cvs/src/sys/dev/softraid.c,v > retrieving revision 1.334 > diff

Re: PATCH: further kernel malloc -> mallocarray

2014-07-15 Thread patrick keshishian
Question, comment and a potential bug ... On Wed, Jul 16, 2014 at 04:54:49AM +, Doug Hogan wrote: > === > RCS file: /cvs/src/sys/arch/amd64/amd64/est.c,v > retrieving revision 1.33 > diff -u -p -d -r1.33 est.c > --- sys/arch/amd64

[patch] sys/dev/ic/mfi.c

2014-07-16 Thread patrick keshishian
Hi, I think is a bug in sys/dev/ic/mfi.c noticed during "PATCH: further kernel malloc -> mallocarray" review[1] I see the mallocarray() patch seems to have been applied. Want to make sure if this is in fact a bug, that it is not overlooked. Ignore if this is noise. Cheers, --patrick [1] http:/

Re: Probably you already know but http://www.openbsd.org/cgi-bin/cvsweb/ is returning HTTP 403 Forbidden

2014-07-16 Thread patrick keshishian
On 7/16/14, Bob Beck wrote: > I've disabled it due to persistant DOS attacks. It may come back later. wait ... what? you helping'em? :P --patrick > On Wed, Jul 16, 2014 at 12:11 PM, Rafael Neves > wrote: >> Hi Beck, >> >> Probably you already know is

Re: lsearch.c

2014-07-17 Thread patrick keshishian
On 7/17/14, Matthew Dempsky wrote: > Hrm. It seems silly to me to change it to require a non-const pointer > argument, Silly even though, the description of lsearch says it will modify ("it shall be added at the end of") the table, for which "base argument points to the first element"? analogy:

Re: [PATCH]unused NULL check before calling free

2014-07-30 Thread patrick keshishian
On Wed, Jul 30, 2014 at 10:14:54PM +0200, Fritjof Bornebusch wrote: > Hi tech, > > there is an unnecessary NULL check before calling free. > > fritjof > > Index: xmalloc.c > === > RCS file: /cvs/src/usr.bin/rcs/xmalloc.c,v > retriev

Re: Print strings with double quotes safely in ifconfig(8)

2014-08-10 Thread patrick keshishian
On 8/10/14, Vadim Zhukov wrote: > This changes the way ifconfig(8) to print lines like 'crazy "nwid', > i.e., containing double quotes inside the data being output. > At the present, such lines will be printed in the following way: > > "crazy "nwid" > > And this makes everything that tries to pars

Re: autonetd, Wi-Fi automated configuration

2014-08-13 Thread patrick keshishian
Hi, Since you did ask for input. On Wed, Aug 13, 2014 at 07:06:23PM +0400, Vadim Zhukov wrote: > Hello all. > > I won't describe the problem, you all new it: when you switch between > hotspots, your network interface doesn't follow you. Also, you > probably want to have some sort of fallback con

swap affinity?

2014-09-19 Thread patrick keshishian
Hi, Just ran into something strange. I was running 'sudo cdio cdrip' and in another shell running a memory-hungry perl script, this caused a bunch of processes to swap out (namely Xorg). Once the cdrip was done, and I killed the perl script, and let the system "calm down", I still noticed lag in m

Re: swap affinity?

2014-09-20 Thread patrick keshishian
On Sat, Sep 20, 2014 at 08:53:58AM +0200, Otto Moerbeek wrote: > On Fri, Sep 19, 2014 at 10:05:35PM -0700, patrick keshishian wrote: > > > Hi, > > > > Just ran into something strange. I was running 'sudo cdio cdrip' > > and in another shell running a memo

Re: deobfuscate disk subr gpt

2014-11-03 Thread patrick keshishian
On Mon, Nov 03, 2014 at 11:56:25AM -0500, Ted Unangst wrote: > On Sat, Nov 01, 2014 at 22:45, Ted Unangst wrote: > > Pull out a few common subexpressions. I think this makes the code > > easier to read. Some byte swaps are left, when they are only used once. > > > > Then use mallocarray for bounds

Re: tetris(6): fix select() -> poll() conversion

2014-11-05 Thread patrick keshishian
On Wed, Nov 05, 2014 at 08:45:07PM +0100, Theo Buehler wrote: > Pausing a tetris game currently causes a segfault due to a a null > pointer dereference. > > Fix this by checking that s is non-NULL before accessing its members. > > A number of comments and an error message still refer to select()

  1   2   >