[dev] subscribe

2019-06-25 Thread oskar.sharipov
--  Sharipov Oskar Email: sharipov.os...@tuta.io Web-site: www.oskar.pub

[dev] [ubase] Fixing passwd crash

2019-06-25 Thread Michael Forney
I noticed that when passwd in ubase is changing a password, it will try to dereference a NULL pointer when /etc/shadow exists, but the user's password is not stored in /etc/shadow (i.e. marked with "x" in /etc/passwd). It will try to save the spw entry if /etc/shadow exists, even if the shadow entr

[dev] [sbase] sys/sysmacros.h and major/minor

2019-06-25 Thread Michael Forney
Since glibc 2.28, sys/types.h no longer includes sys/sysmacros.h which defines the major and minor macros. Some BSDs don't have sys/sysmacros.h, so sbase has been conditionally including sys/sysmacros.h on glibc since 99c78763[0]. However, in the upcoming musl release, it too will remove the sys/s

[dev] Re: [sbase] sys/sysmacros.h and major/minor

2019-06-25 Thread Michael Forney
On 2019-06-25, Michael Forney wrote: > 1. Invert the ifdef by conditionally *omitting* the sysmacros.h > include on systems that don't have it rather than including it only on > glibc. I know this includes at least OpenBSD. Does anyone know of any > others? I think this includes most BSD operatin