mlibc icon indicating copy to clipboard operation
mlibc copied to clipboard

More work towards shadow support

Open Dennisbonke opened this issue 2 years ago • 5 comments

This PR implements getspnam() and getspnam_r, fixes the function signature of setpgrp to match the System V version, just like glibc and musl do, adds a stub fgetspent and stubs sys_tcdrain in Managarm. All of this works towards running the shadow package on Managarm.

As more work is expected, this is a draft for now.

Dennisbonke avatar Apr 18 '22 11:04 Dennisbonke

is that code copied from musl?

64 avatar Apr 18 '22 11:04 64

is that code copied from musl?

It is, I believe I left a comment about it in the source code.

Dennisbonke avatar Apr 18 '22 11:04 Dennisbonke

I've improved the attribution as requested, ready for another review.

Dennisbonke avatar Jun 06 '22 00:06 Dennisbonke

ABI checker complains since we changed setpgrp to take no arguments, but it was wrong before so I'm not sure that's an issue.

64 avatar Jun 06 '22 00:06 64

This needs to be rebased to pass CI.

64 avatar Jul 01 '22 02:07 64