Commit Graph

21 Commits

Author SHA1 Message Date
Josh Megnauth 14988e33b2 Unsafe blocks: getopt.h, grp.h 2024-12-13 01:20:24 -05:00
Derick Eddington 572f211be0 Fix getgrgid_r. 2024-07-06 22:47:55 -07:00
Derick Eddington 7c81de68b8 Fix header::grp::parse_grp. 2024-07-06 22:47:55 -07:00
Peter Limkilde Svendsen a7137512fa Use standard casing and mangling for internal errno 2024-03-01 00:25:42 +00:00
Peter Limkilde Svendsen 9093f6bc47 Use Cell representation for errno 2024-02-29 14:07:40 +00:00
Jeremy Soller 8313fc1c77 Fix array pointer mismatch in parse_grp 2024-02-10 14:27:50 -07:00
Jeremy Soller a2321e4b2b Add initgroups 2024-01-16 20:00:57 -07:00
Jeremy Soller 92b56f3f92 Format 2024-01-03 11:46:29 -07:00
4lDO2 75d1c67ca2 Switch to a lightweight CStr wrapper 2023-11-04 18:29:38 +00:00
Ian Douglas Scott f195c8c126 Correctly parse /etc/passwd and /etc/group on Redox
Redox uses `;` as separators in these files, and doesn't have the
"password" flag in `/etc/group`. With these, it seems to parse fine.
2023-11-01 19:31:46 -07:00
4lDO2 ae46e37ca7 Run rustfmt 2023-10-26 15:51:04 +02:00
4lDO2 7fce3c5734 Fix grp.h soundness and incorrect ::libc usage. 2023-10-26 15:34:55 +02:00
Jacob Schneider 2f887ae434 Groups 2023-08-21 12:05:16 +00:00
jD91mZM2 593925ceb4 Unambiguate all include guards
GNU binutils also uses _FNMATCH_H for a guard, maybe along others!
2020-06-29 11:34:51 +02:00
jD91mZM2 c7d499d4f2 Upgrade to the 2018 edition
I didn't think it'd be this useful first, but thank god for `cargo fix --edition`!
2019-08-04 19:05:45 +02:00
Mateusz Mikuła 63a1319e50 Cbindgen update 2019-07-10 10:08:39 +00:00
Jeremy Soller 22ca2e5f7b Export group struct 2019-01-15 21:08:08 -07:00
Jeremy Soller a39f170ed3 Reenable grp header (for git) 2018-12-02 12:35:38 -07:00
Jeremy Soller 950b4526c7 - Disable output of empty header files
- Remove incorrect header styles
- Use export.replace where header style was previously needed
- Check compilation of tests using system gcc
2018-11-26 21:35:02 -07:00
Jeremy Soller 7ab700315d Fix warnings and add c_str 2018-08-26 15:15:29 -06:00
Jeremy Soller c20ce5ffed Large reorganization of headers (WIP) 2018-08-26 08:11:35 -06:00