Commit Graph

1100 Commits

Author SHA1 Message Date
Jeremy Soller f3afff08de Adjust ftell for write buffer 2025-12-24 20:13:13 -07:00
auronandace 98d90ac580 revert previous 2 changes and add Safety note 2025-12-24 14:32:08 +00:00
auronandace d4d82843de fix type 2025-12-24 12:56:30 +00:00
auronandace 16f1f71acb ensure internal memcpy does not copy past src or dest len 2025-12-24 12:42:28 +00:00
auronandace 4e744c3f55 only import the needed types 2025-12-24 11:05:12 +00:00
auronandace 96da8e5ed4 fix memccpy, copy correct amount of bytes and still copy if c not found 2025-12-24 11:02:15 +00:00
auronandace 6dd3a38f30 mark getpwnam as unsafe 2025-12-23 09:28:10 +00:00
auronandace 4786080073 only import needed types in syslog 2025-12-23 09:23:46 +00:00
auronandace 321b65d7e1 Update and add spec links, correct typo 2025-12-23 09:21:28 +00:00
auronandace 8414205d04 only import the needed types 2025-12-22 17:47:29 +00:00
auronandace 8deb1f32c3 mark two functions unsafe 2025-12-22 17:40:51 +00:00
auronandace 4102e1b47d only import needed types 2025-12-22 10:16:15 +00:00
auronandace 5d4b6bc2ee update and add spec links for glob and setjmp 2025-12-22 10:12:50 +00:00
Jeremy Soller 99e8cd93e0 Merge branch 'drm10' into 'master'
Add drm MODE_GET_PROPERTY, MODE_SET_PROPERTY and MODE_GET_PROP_BLOB

See merge request redox-os/relibc!831
2025-12-21 13:34:05 -07:00
bjorn3 a710decf1b Add drm MODE_GET_PROPERTY, MODE_SET_PROPERTY and MODE_GET_PROP_BLOB 2025-12-21 20:38:53 +01:00
auronandace fa15f44f58 update and add spec links for monetary 2025-12-21 17:13:08 +00:00
bjorn3 b69c6a2e11 Add drm MODE_ADD_FB and MODE_RM_FB 2025-12-20 22:10:39 +01:00
Jeremy Soller 0d75833b93 Merge branch 'os-test-linux' into 'master'
Fix various os-test issues when using relibc on Linux

See merge request redox-os/relibc!824
2025-12-19 13:57:43 -07:00
Jeremy Soller c489dee545 Add TIOCGSID definition for Redox 2025-12-19 13:38:20 -07:00
Jeremy Soller e4bc87f97d Update tcgetsid link 2025-12-19 13:27:00 -07:00
Jeremy Soller b1c9847b97 Include sys/stat.h and unistd.h in fcntl.h, remove bits/fcntl.h 2025-12-19 13:01:45 -07:00
Jeremy Soller c45d06e747 Add locale_t 2025-12-19 12:55:55 -07:00
Jeremy Soller 3765148270 Fix incompatible functions 2025-12-19 12:55:43 -07:00
Jeremy Soller 84c3ba910c Implement tcgetwinsize and fix tcsetwinsize 2025-12-19 12:27:10 -07:00
Jeremy Soller 593e4bf416 Include sys/types.h in termios.h 2025-12-19 12:22:27 -07:00
Jeremy Soller 7301eff5ba Stub ifaddrs.h 2025-12-19 12:18:21 -07:00
Jeremy Soller 1bbdcc1202 Implement fwscanf and similar 2025-12-19 12:12:16 -07:00
Jeremy Soller 302f4ab2d1 Add AT_EACCESS and AT_SYMLINK_FOLLOW for Linux 2025-12-19 11:59:51 -07:00
Jeremy Soller 09f0e57f1b Fix dladdr definition 2025-12-19 11:55:34 -07:00
Jeremy Soller 0405048890 Format limits and sysconf 2025-12-19 11:46:38 -07:00
Jeremy Soller b707c37883 Implement tcgetsid using ioctl 2025-12-19 10:32:56 -07:00
Jeremy Soller 7e987b67bc Add more limits and expose them through sysconf 2025-12-19 10:18:15 -07:00
Jeremy Soller 6617f6afda Define F_OFD fcntl commands 2025-12-19 09:23:33 -07:00
Jeremy Soller c1d3ff3d53 Add POSIX limits 2025-12-19 09:15:45 -07:00
Jeremy Soller 4daa52a6bd Implement _Fork, which is fork without pthread_atfork hooks 2025-12-19 08:49:53 -07:00
auronandace c5c4d9e10c only import the needed types 2025-12-19 15:41:56 +00:00
auronandace 2fa1641299 update and add spec links 2025-12-19 15:39:29 +00:00
Jeremy Soller c895f71df8 Merge branch 'doc-signal' into 'master'
Doc signal

See merge request redox-os/relibc!821
2025-12-19 05:45:02 -07:00
auronandace bf1462c763 only import the needed types 2025-12-19 10:19:56 +00:00
auronandace 34a16aca5d update and add spec links 2025-12-19 10:13:35 +00:00
Wildan M e2f8eb43a6 Reduce logs on openlibm and warning on time.h 2025-12-19 15:06:20 +07:00
Ibuki Omatsu efa5b73015 refactor: Replace unlink and rmdir with unlinkat. Improve fork using ForkScratchPad. 2025-12-17 18:32:07 -07:00
bjorn3 22f5f23642 Support dumb buffer drm ioctls 2025-12-17 22:56:11 +01:00
bjorn3 2199c0fa10 Remove unused method from drm::Dev 2025-12-17 22:14:32 +01:00
Bendeguz Pisch 89d7ed0120 Allow NULL as longindex parameter on getopt_long 2025-12-17 18:34:28 +01:00
auronandace 0392c0b736 fix strlcat and strlcpy bytes amount 2025-12-17 14:56:59 +00:00
Jeremy Soller 3ebd43b4ce Merge branch 'drm' into 'master'
Implement DRM ioctls for Redox

See merge request redox-os/relibc!801
2025-12-16 12:56:22 -07:00
bjorn3 61dc527156 Move drm ioctl (de)serialization into a new redox-ioctl crate
This will make it easier to share this code with gpu drivers in the base
repo.
2025-12-16 20:38:05 +01:00
auronandace 95f7a12b8b only import needed types 2025-12-16 16:46:05 +00:00
auronandace 887a53c1b2 update and add spec links 2025-12-16 16:42:08 +00:00