-
LXGHTNXNGwas it illumos that had woeful fork/exec latency?
-
LXGHTNXNGor do just all OSes have that
-
jclulowThat's not an especially productive question
-
LXGHTNXNGit does not merit an answer
-
arekinathtsoome: omg how did you end up in audit_remote haha
-
arekinaththat thing is awful
-
arekinathI tried so hard to use it
-
arekinathhad to resort to cron jobs to kill auditd regularly to stop it getting into state where it just stops trying to send events out and turns into a brick
-
arekinathalso it's what got me onto the NIS diffie-hellman + TDEA gss mech
-
sensilletsoome: what do you mean by "gcc7 does not sign extend negative values"? how does gcc7 differ in that regard from other versions?
-
tsoomesensille gcc 4.4.4 was updated to do that, later versions are not. see also illumos.org/issues/2757. This was also one of the bricks on the path to drop sparc ...
-
fenix→ BUG 2757: 32bit sparc direct system calls should not rely on compiler mannerisms (In Progress)
-
sensillethanks
-
tsoomealso note that the simple fix would be to drop 32-bit userland (which we should do anyhow) ;)
-
tsoome(except that dropping it would be huge amount of work of fixing bugs;)
-
jclulowPlus the only economically motivating factor behind SPARC support would be to preserve some legacy binaries you don't have source for, and odds are those are 32-bit
-
tsoome_Then it will be like with any other vendor - you are stuck with that version and no updates (which such setups most likely will not install anyhow;) till the system will let magic smoke to leave.
-
alanclooks like experimenting with cppcheck warned us of that horror in audit_remote back in 2014: "[usr/src/lib/auditd_plugins/remote/audit_remote.c:302]: (error) Invalid strncmp() argument nr 3. A non-boolean value is required."
-
alanc"It appears the intent was to check if the strncmp results were == 0,
-
alancbut the parens were put in the wrong place, and instead the length
-
alancargument to strncmp is "1 == 0", which evaluates to a value of 0, since
-
alanc1 can never be equal to 0, unless the compiler is really broken. The
-
alancstrncmp thus always returns 0, and code in the if block never executed."