Re: ldd error with setuid/setgid binaries

2023-10-18 Thread Yoshihiro Kawamata
From: "Theo de Raadt" Subject: Re: ldd error with setuid/setgid binaries Date: Wed, 18 Oct 2023 10:01:34 -0600 > But anyways, you are not talking about OpenBSD. I am using the normal OpenBSD 7.4 installation from ftp.jaist.ac.jp, one of the official mirrors. I am talking about that, not

X session doesn't survive zzz

2023-10-18 Thread Jan Stary
This is current/amd64 on a PC (dmesg below). After a resume from zzz inside a running X session, I am greeted with the xenodm login screen into which I cannot login: the keyboard does nothing (is it the USB keyboard not reattaching properly?). Loging in on the console, I see that the X session

Re: xenodm blank screen

2023-10-18 Thread Stuart Henderson
On 2023-10-18, Ryan England wrote: > Hello everyone, > > I've got an issue when attempting to start xenodm. When it starts, I only see > a blank screen. Looking in Xorg0.log, I see the following: > > wsfb(0): error in WSDISPLAY_SVIDEO Operation not supported > > I have ~/.xsession configured with

Re: Lenovo Thinkpad T14 Gen3 very slow on MP kernel, faster on GENERIC

2023-10-18 Thread Stuart Henderson
On 2023-10-17, Comète wrote: > Hi, > > Wow ! you're absolutely right ! If I unplug, no lagg anymore. > So the solution should be to apply your patch and rebuild the kernel ? It's certainly worth trying. If you do, please report back here. > Thanks a lot ! > > Morgan > > 17 octobre 2023 14:24

Re: xscreensaver-settings keeps on crashing

2023-10-18 Thread John McCue
On Wed, Oct 18, 2023 at 03:46:51AM -0500, Luke Small wrote: I discovered that if I run xfce desktop that I have on here for thunar file manager, that it works. I don???t know why. AFAIK, xfce now has its own internal screensaver, it stopped using xscreensaver a release or 2 ago. I can???t

Re: Lenovo Thinkpad T14 Gen3 very slow on MP kernel, faster on GENERIC

2023-10-18 Thread Dave Voutila
Stuart Henderson writes: > On 2023-10-17, Comète wrote: >> Hi, >> >> Wow ! you're absolutely right ! If I unplug, no lagg anymore. >> So the solution should be to apply your patch and rebuild the kernel ? > > It's certainly worth trying. If you do, please report back here. > I have a

Re: ldd error with setuid/setgid binaries

2023-10-18 Thread Marc Espie
On Wed, Oct 18, 2023 at 11:41:12PM +0900, Yoshihiro Kawamata wrote: > From: "Theo de Raadt" > Subject: Re: ldd error with setuid/setgid binaries > Date: Wed, 18 Oct 2023 06:35:51 -0600 > > > You don't explain why you need to do this. You just completely skipped > > that. > > You don't justify

Re: 7.4 on Mac M1 UTM (qemu) - X11

2023-10-18 Thread Daniele B.
Hello John, I'm a veteran (a passed user) of Qemu. I go by memory: it seems to me that viogpu must be specified in the configuration of the virtual machine... Hope it is somewhat helpful. -- Daniele Bonini Oct 18, 2023 15:44:55 John Holland : > Hello, > I see 7.4 has been released and has

Re: ldd error with setuid/setgid binaries

2023-10-18 Thread Yoshihiro Kawamata
From: "Theo de Raadt" Subject: Re: ldd error with setuid/setgid binaries Date: Wed, 18 Oct 2023 06:35:51 -0600 > You don't explain why you need to do this. You just completely skipped that. > You don't justify why you need it to work. Does that make me care?? No, it > really doesn't make me

Re: ldd error with setuid/setgid binaries

2023-10-18 Thread Theo de Raadt
Yoshihiro Kawamata wrote: > From: "Theo de Raadt" > Subject: Re: ldd error with setuid/setgid binaries > Date: Wed, 18 Oct 2023 06:35:51 -0600 > > > You don't explain why you need to do this. You just completely skipped > > that. > > You don't justify why you need it to work. Does that make

Re: ldd error with setuid/setgid binaries

2023-10-18 Thread Stuart Henderson
On 2023-10-18, Yoshihiro Kawamata wrote: > In OpenBSD 7.4, running ldd on a setuid or setgid executable returns > an error. Why is this? ldd started using execpromises, and: /* SUID programs may not be started with execpromises */

ldd error with setuid/setgid binaries

2023-10-18 Thread Yoshihiro Kawamata
In OpenBSD 7.4, running ldd on a setuid or setgid executable returns an error. Why is this? # ls -l atrm -r-xr-sr-x 1 root crontab 34864 Oct 10 23:41 atrm # ldd atrm atrm: atrm: Permission denied atrm: exit status 1 # chmod g-s atrm # ls -l atrm -r-xr-xr-x 1 root crontab

Re: xscreensaver-settings keeps on crashing

2023-10-18 Thread Luke Small
I discovered that if I run xfce desktop that I have on here for thunar file manager, that it works. I don’t know why. I can’t run xscreensaver-settings under fvwm. The screensavers work though. Any suggestions? It said something about conflicting with xfce4-screensaver or something too. On Fri,

Re: Dark theme in Xorg and trackpad

2023-10-18 Thread pela0
Will go with "colors" THANKS!! P. --- Original Message --- On Wednesday, October 18th, 2023 at 09:13, Johannes Thyssen Tishman wrote: > > > > # 1 > > > Since a couple months ago I started using CWM, at first it was a > > little weird to use but now I find it hard to come back

Re: ldd error with setuid/setgid binaries

2023-10-18 Thread Theo de Raadt
Stuart Henderson wrote: > On 2023/10/18 06:35, Theo de Raadt wrote: > > ldd around suid programs has a fine history of security holes. > > > > One idea is for you to just not not do that. > > > > You don't explain why you need to do this. You just completely skipped > > that. > > You don't

Dark theme in Xorg and trackpad

2023-10-18 Thread pela0
Hi list, # 1 Since a couple months ago I started using CWM, at first it was a little weird to use but now I find it hard to come back to fluxbox or I3, my favorite WMs...but (always one), I'd like to set Xorg (not GTK), in a dark theme, dunno if that's even possible...I've been a *BSD / linux

Re: Dark theme in Xorg and trackpad

2023-10-18 Thread Johannes Thyssen Tishman
> # 1 > Since a couple months ago I started using CWM, at first it was a > little weird to use but now I find it hard to come back to fluxbox > or I3, my favorite WMs...but (always one), I'd like to set Xorg > (not GTK), in a dark theme, dunno if that's even possible...I've > been a *BSD / linux

Re: ldd error with setuid/setgid binaries

2023-10-18 Thread Yoshihiro Kawamata
From: Stuart Henderson Subject: Re: ldd error with setuid/setgid binaries Date: Wed, 18 Oct 2023 10:00:19 - (UTC) > ldd started using execpromises, and: > > /* SUID programs may not be started with execpromises */ I see. thank you. I created and used a shell script to create a list of

Re: ldd error with setuid/setgid binaries

2023-10-18 Thread Stuart Henderson
On 2023/10/18 06:35, Theo de Raadt wrote: > ldd around suid programs has a fine history of security holes. > > One idea is for you to just not not do that. > > You don't explain why you need to do this. You just completely skipped that. > You don't justify why you need it to work. Does that

7.4 on Mac M1 UTM (qemu) - X11

2023-10-18 Thread John Holland
Hello, I see 7.4 has been released and has the new viogpu(4) driver by joshua stein. I am trying to use it in a VM created with UTM, a wrapper for QEMU that works on M1 Macs. The virtual machine installs and starts up fine from the install74.img mounted as a disk, but running startx/X/xenodm

Re: X session doesn't survive zzz

2023-10-18 Thread Jan Stary
On Oct 18 11:11:54, h...@stare.cz wrote: > This is current/amd64 on a PC (dmesg below). > After a resume from zzz inside a running X session, > I am greeted with the xenodm login screen > into which I cannot login: the keyboard does nothing > (is it the USB keyboard not reattaching properly?). >

Re: ldd error with setuid/setgid binaries

2023-10-18 Thread Theo de Raadt
ldd around suid programs has a fine history of security holes. One idea is for you to just not not do that. You don't explain why you need to do this. You just completely skipped that. You don't justify why you need it to work. Does that make me care?? No, it really doesn't make me care.

Re: ldd error with setuid/setgid binaries

2023-10-18 Thread Marc Espie
On Wed, Oct 18, 2023 at 09:38:32PM +0200, Theo Buehler wrote: > On Thu, Oct 19, 2023 at 01:39:00AM +0900, Yoshihiro Kawamata wrote: > > From: Marc Espie > > Subject: Re: ldd error with setuid/setgid binaries > > Date: Wed, 18 Oct 2023 18:04:45 +0200 > > > > > objdump -p > > > will be as good. >

Re: xenodm blank screen

2023-10-18 Thread Kevin Williams
Hi Ryan, Yes, please paste the output of: $ dmesg | less $ less /var/log/Xorg.0.log I see you already sent part of the Xorg log. Please send the entire output of the commands above. The information those provide will help us better assist you. Usually when you create your own ~/.xsession

Re: OpenBSD 7.4 released -- Oct 16, 2023

2023-10-18 Thread Jean-François Simon
Awesome new release as usual and the artwork is also superb. Regards, Jean-François

Re: OpenBSD 7.4 released -- Oct 16, 2023

2023-10-18 Thread misc
Same. Preparing to upgrade. On 10/16/23 10:42, Claudio Miranda wrote: Congratulations to Theo and everyone involved in making OpenBSD 7.4 a reality and for this awesome project altogether! I also love the artwork (big thanks also to the artist that created it). so I'll be getting some 7.4 merch

Re: ldd error with setuid/setgid binaries

2023-10-18 Thread Yoshihiro Kawamata
From: Marc Espie Subject: Re: ldd error with setuid/setgid binaries Date: Wed, 18 Oct 2023 18:04:45 +0200 > objdump -p > will be as good. > > Yes, it does not recurse, but it doesn't need to, since you also > want to wipe libraries that link with old libraries. This seems to be easier to parse

Re: ldd error with setuid/setgid binaries

2023-10-18 Thread Yoshihiro Kawamata
From: Stuart Henderson Subject: Re: ldd error with setuid/setgid binaries Date: Wed, 18 Oct 2023 13:58:26 +0100 > There are two approaches. > > - use another tool to read the ELF header and parse NEEDED entries > from that. several are available (including at least one which will > recurse to

Re: ldd error with setuid/setgid binaries

2023-10-18 Thread Theo Buehler
On Thu, Oct 19, 2023 at 01:39:00AM +0900, Yoshihiro Kawamata wrote: > From: Marc Espie > Subject: Re: ldd error with setuid/setgid binaries > Date: Wed, 18 Oct 2023 18:04:45 +0200 > > > objdump -p > > will be as good. > > > > Yes, it does not recurse, but it doesn't need to, since you also > >