Re: ffs details

2020-02-25 Thread Otto Moerbeek
On Wed, Feb 26, 2020 at 03:02:02AM +0100, whistlez...@riseup.net wrote: > Hi, I need some details about ffs, I read the kernel source but my c > knowledge is very basic. I understood all about the superblock but my > problem is understand how the files are allocated on the disk. > Anyone could

Re: close(2) return value handling

2020-02-25 Thread Theo de Raadt
Matthias wrote: > Just curious why you never check the return value of the close(2) system > call for errors. It never fails in a way that matters. The program must be properly written for the fd to be alive, so EBADF doesn't occur. EINTR doesn't occur, and if it did, nowhere is it cleanly

close(2) return value handling

2020-02-25 Thread Matthias
Hi. Just curious why you never check the return value of the close(2) system call for errors. Thanks.

Re: ffs details

2020-02-25 Thread Philip Guenther
On Tue, Feb 25, 2020 at 6:03 PM wrote: > Hi, I need some details about ffs, I read the kernel source but my c > knowledge is very basic. I understood all about the superblock but my > problem is understand how the files are allocated on the disk. > Anyone could give me more details about files

ffs details

2020-02-25 Thread whistlez-ml
Hi, I need some details about ffs, I read the kernel source but my c knowledge is very basic. I understood all about the superblock but my problem is understand how the files are allocated on the disk. Anyone could give me more details about files allocation ? Thank you.

Re: "not MAP_STACK" message in dmesg / system message buffer

2020-02-25 Thread Theo de Raadt
Theo de Raadt wrote: > Andre Smagin wrote: > > > Hello. > > > > While prototyping something in C, I made a mistake with > > pre-processor macros, which I narrowed down to this: > > > > int > > main() > > { > > char *test[10][2097152] = { { 0 } }; > > } > > > > Running it results in > >

Re: "not MAP_STACK" message in dmesg / system message buffer

2020-02-25 Thread Theo de Raadt
Andre Smagin wrote: > Hello. > > While prototyping something in C, I made a mistake with > pre-processor macros, which I narrowed down to this: > > int > main() > { > char *test[10][2097152] = { { 0 } }; > } > > Running it results in > $ ./a.out > Segmentation fault

"not MAP_STACK" message in dmesg / system message buffer

2020-02-25 Thread Andre Smagin
Hello. While prototyping something in C, I made a mistake with pre-processor macros, which I narrowed down to this: int main() { char *test[10][2097152] = { { 0 } }; } Running it results in $ ./a.out Segmentation fault (core dumped) and it also logs it in dmesg as Feb

Re: openbsd.org - certain https URLs downgraded to http in redirection

2020-02-25 Thread Constantine A. Murenin
On Tue, 25 Feb 2020 at 04:35, Vincenzo Nicosia wrote: > On Tue, Feb 25, 2020 at 07:57:24AM -, Stuart Henderson wrote: > > [cut] > > > > Want https? great. use it. There are times when it's handy to NOT > > > be obsessed with https (i.e., clock is hosed on your computer). > > > > > > So ...

Re: Determining which patches a snapshot contains

2020-02-25 Thread Theo de Raadt
Jonathan Schleifer wrote: > Fair enough - I can understand you don't want to give any guarantees for > snapshots. > > I guess it's fair to assume that snapshots are only built from full commits > and not partial commits? In this case then, I guess I should be fine. The snapshot promise does

Re: Determining which patches a snapshot contains

2020-02-25 Thread Jonathan Schleifer
Fair enough - I can understand you don't want to give any guarantees for snapshots. I guess it's fair to assume that snapshots are only built from full commits and not partial commits? In this case then, I guess I should be fine. -- Jonathan > Am 25.02.2020 um 20:35 schrieb Theo de Raadt : >

Re: size of size_t (diff angle)

2020-02-25 Thread Anders Andersson
On Tue, Feb 25, 2020 at 12:14 PM wrote: > > Haai, > > The definition of size_t keeps biting me. > > Some background: in nnx, me's been using the equiv of caddr_t for > counts. This works well; yet, while writing against existing code that > uses size_t, an issue has surfaced. > > First of all,

Re: inteldrm changes cause high temperature / fan speeds

2020-02-25 Thread Tero Koskinen
Hi, Alex Karle wrote on 25.2.2020 6.51: Hi Tero, Apologies if this breaks the threading -- I wasn't subscribed to misc@ at the time the original was sent. Have you (or any others) dug any deeper into this? My problem was more or less "solved" when the power supply from my Optiplex died.

PPTP NAT passthrough

2020-02-25 Thread Szél Gábor
Dear @misc Our customer need more parallel outgoing PPTP session. I know PPTP is no security VPN, but our client not have any options. (our customer remote partner accept only PPTP VPN ...) OpenBSD PF can't use parallel PPTP session. First session is NAT-ed, but second session is broken. I

Re: What TERM fixes Emacs?

2020-02-25 Thread Raymond, David
On my X1 Carbon running openbsd 6.6, the console works fine with the non-X version of emacs except that the meta key is not set. One can emulate the meta key by typing escape followed by x, but this is a pain. Maybe there is some mechanism for setting the alt key to meta in emacs on consoles,

Re: Determining which patches a snapshot contains

2020-02-25 Thread Theo de Raadt
You are asking questions beyond the promises we make about snapshots. Sorry, no answer to your question. Sorry if you think that is unfair. Jonathan Schleifer wrote: > Hi! > > I'm wondering: If I upgrade to snapshots/sparc64/base66.tgz that is listed on > ftp as > base66.tgz

Re: openbsd.org - certain https URLs downgraded to http in redirection

2020-02-25 Thread Greg Hewgill
February 25, 2020 11:32 PM, "Vincenzo Nicosia" wrote: > There are many cases where the overhead introduced by https is really > not worth the extra bit of confidentiality you get. It's not just about confidentiality - https also ensures integrity, and prevents nefarious network operators (ie.

Re: Pf memory pool limits don't have immediate effects when loading a ruleset above the previous limit

2020-02-25 Thread Benjamin Girard
For some reason I cannot reproduce the problem all the time as I rebooted my vm and now i properly get a valid error message: fw# pfctl -f /etc/pf.conf pfctl: Current pool size exceeds requested tables limit 2000 And I can just update the limit without the need to remove and re-add the tables.

Re: What TERM fixes Emacs?

2020-02-25 Thread Chris Cappuccio
Emilia [emi...@sonic.net] wrote: > Stuart, > > Apologies for breaking netiquette w/ sending images. > > Could you please point me to what "pccon" is? I found references to > pccon in pcvt - but it is unclear to me how I can use pcvt either. > export TERM=pccon perhaps?

Re: What TERM fixes Emacs?

2020-02-25 Thread Stuart Henderson
On 2020/02/25 07:19, Emilia wrote: > Stuart, > > Apologies for breaking netiquette w/ sending images. > > > > Could you please point me to what "pccon" is? I found references to pccon in > pcvt - but it is > unclear to me how I can use pcvt either. > > > Thank you! pccon is the

Re: What TERM fixes Emacs?

2020-02-25 Thread Emilia
Stuart, Apologies for breaking netiquette w/ sending images. Could you please point me to what "pccon" is? I found references to pccon in pcvt - but it is unclear to me how I can use pcvt either. Thank you! On 2020-02-24 23:16, Stuart Henderson wrote: > On 2020-02-25, Emilia wrote: >

Re: High CPU usage with docker on alpine linux vmm

2020-02-25 Thread aisha
It doesn't seem like adding apmd and changing to 2000Hz made any difference. tsc is still unstable and containerd is till using >70% CPU. Hoping that vmd/vmm can soon run linux systems. Thanks a lot for the work so far. --- Aisha blog.aisha.cc On 2020-02-25 02:26, Mike Larkin wrote: On Mon,

size of size_t (diff angle)

2020-02-25 Thread zeurkous
Haai, The definition of size_t keeps biting me. Some background: in nnx, me's been using the equiv of caddr_t for counts. This works well; yet, while writing against existing code that uses size_t, an issue has surfaced. First of all, let us reflect upon the definition of size_t in C99. >

Determining which patches a snapshot contains

2020-02-25 Thread Jonathan Schleifer
Hi! I'm wondering: If I upgrade to snapshots/sparc64/base66.tgz that is listed on ftp as base66.tgz 24-Feb-2020 20:01 175147678 Will it include ? I saw that

Re: openbsd.org - certain https URLs downgraded to http in redirection

2020-02-25 Thread Vincenzo Nicosia
On Tue, Feb 25, 2020 at 07:57:24AM -, Stuart Henderson wrote: [cut] > > Want https? great. use it. There are times when it's handy to NOT > > be obsessed with https (i.e., clock is hosed on your computer). > > > > So ... unless some developer I really respect (which is just about > > all