History log of /rust-libc-0.2.174/src/unix/linux_like/linux/mod.rs (Results 1 – 25 of 263)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: 0.2.174
# 1e99d50b 14-Jun-2025 The 8472 <[email protected]>

make pidfd_info fields pub

the struct appers to be extensible, so also mark it as non_exhaustive

(backport <https://github.com/rust-lang/libc/pull/4487>)
(cherry picked from commit 4dc50ebfd4750a5b

make pidfd_info fields pub

the struct appers to be extensible, so also mark it as non_exhaustive

(backport <https://github.com/rust-lang/libc/pull/4487>)
(cherry picked from commit 4dc50ebfd4750a5b7459482aa2618387a0bdbb7f)

show more ...


Revision tags: 0.2.173
# c04c92ed 02-Jun-2025 Trevor Gross <[email protected]>

Replace handwritten `Debug` impls with derives

`s_no_extra_traits!` doesn't derive `Debug` so there are a lot of
handwritten implementations. However, since we have a derive-like
solution for unions

Replace handwritten `Debug` impls with derives

`s_no_extra_traits!` doesn't derive `Debug` so there are a lot of
handwritten implementations. However, since we have a derive-like
solution for unions now (printing them like an opaque struct), there
really isn't any reason these can't all be derived.

Add `derive(Debug)` to `s_no_extra_traits`, still gated behind `feature
= "extra_traits"`, which allows getting rid of manual implementations.

(backport <https://github.com/rust-lang/libc/pull/4471>)
(cherry picked from commit 65c39bf1b0c7b904cf512280860120307d17703b)

show more ...


Revision tags: 0.2.172, ctest-v0.4.11, ctest-v0.4.10, 0.2.171, 0.2.170, 0.2.169, 0.2.168, ctest-v0.4.9, 0.2.167, 0.2.166, 0.2.165
# 8f3da768 21-Nov-2024 Ola x Nilsson <[email protected]>

gnu: Use _TIME_BITS=64 versions of glibc symbols

Set the link names of relevant symbols to use be the same as when a C
program is built against GNU libc with -D_TIME_BITS=64 -- which also
requires -

gnu: Use _TIME_BITS=64 versions of glibc symbols

Set the link names of relevant symbols to use be the same as when a C
program is built against GNU libc with -D_TIME_BITS=64 -- which also
requires -D_FILE_OFFSET_BITS=64.

References:

https://github.com/bminor/glibc/blob/e78caeb4ff812ae19d24d65f4d4d48508154277b/io/fcntl.h
fcntl on line 190

https://github.com/bminor/glibc/blob/e78caeb4ff812ae19d24d65f4d4d48508154277b/io/sys/poll.h
ppoll on line 71

https://github.com/bminor/glibc/blob/e78caeb4ff812ae19d24d65f4d4d48508154277b/io/sys/stat.h
difftime on line 86
fstat on line 218
fstat64 on line 249
fstatat on line 270
fstatat64 on line 296
futimens on line 456
gmtime on line 140
gmtime_r on line 163
localtime on line 141
localtime_r on line 167
lstat on line 318
lstat64 on line 318
mktime on line 88
stat on line 214
stat64 on line 214
time on line 85
timegm on line 249
utimensat on line 439

https://github.com/bminor/glibc/blob/e78caeb4ff812ae19d24d65f4d4d48508154277b/io/utime.h
utime on line 56

https://github.com/bminor/glibc/blob/e78caeb4ff812ae19d24d65f4d4d48508154277b/misc/sys/ioctl.h
ioctl on line 45

https://github.com/bminor/glibc/blob/e78caeb4ff812ae19d24d65f4d4d48508154277b/misc/sys/select.h
pselect on line 134
select on line 108

https://github.com/bminor/glibc/blob/e78caeb4ff812ae19d24d65f4d4d48508154277b/posix/glob.h
glob on line 154
glob64 on line 174
globfree on line 160
globfree64 on line 180

https://github.com/bminor/glibc/blob/e78caeb4ff812ae19d24d65f4d4d48508154277b/posix/sched.h
sched_rr_get_interval on line 81

https://github.com/bminor/glibc/blob/e78caeb4ff812ae19d24d65f4d4d48508154277b/posix/sys/wait.h
wait4 on line 163

https://github.com/bminor/glibc/blob/e78caeb4ff812ae19d24d65f4d4d48508154277b/resource/sys/resource.h
getrusage on line 93

https://github.com/bminor/glibc/blob/e78caeb4ff812ae19d24d65f4d4d48508154277b/rt/aio.h
aio_suspend on line 197

https://github.com/bminor/glibc/blob/e78caeb4ff812ae19d24d65f4d4d48508154277b/rt/mqueue.h
mq_timedreceive on line 91
mq_timedsend on line 99

https://github.com/bminor/glibc/blob/e78caeb4ff812ae19d24d65f4d4d48508154277b/signal/signal.h
sigtimedwait on line 279

https://github.com/bminor/glibc/blob/e78caeb4ff812ae19d24d65f4d4d48508154277b/socket/sys/socket.h
getsockopt on line 260
recvmmsg on line 219
recvmsg on line 219
sendmmsg on line 199
sendmsg on line 178
setsockopt on line 281

https://github.com/bminor/glibc/blob/e78caeb4ff812ae19d24d65f4d4d48508154277b/sysdeps/nptl/pthread.h
pthread_cond_timedwait on line 1151
pthread_mutex_timedlock on line 805

https://github.com/bminor/glibc/blob/e78caeb4ff812ae19d24d65f4d4d48508154277b/sysdeps/pthread/semaphore.h
sem_timedwait on line 68

https://github.com/bminor/glibc/blob/e78caeb4ff812ae19d24d65f4d4d48508154277b/sysdeps/unix/sysv/linux/bits/time.h
clock_adjtime on line 82

https://github.com/bminor/glibc/blob/e78caeb4ff812ae19d24d65f4d4d48508154277b/sysdeps/unix/sysv/linux/sys/epoll.h
epoll_pwait2 on line 146

https://github.com/bminor/glibc/blob/e78caeb4ff812ae19d24d65f4d4d48508154277b/sysdeps/unix/sysv/linux/sys/prctl.h
prctl on line 45

https://github.com/bminor/glibc/blob/e78caeb4ff812ae19d24d65f4d4d48508154277b/sysdeps/unix/sysv/linux/sys/timerfd.h
timerfd_gettime on line 67
timerfd_settime on line 52

https://github.com/bminor/glibc/blob/e78caeb4ff812ae19d24d65f4d4d48508154277b/sysdeps/unix/sysv/linux/sys/timex.h
adjtimex on line 70
ntp_adjtime on line 76
ntp_gettime on line 72

https://github.com/bminor/glibc/blob/e78caeb4ff812ae19d24d65f4d4d48508154277b/sysvipc/sys/msg.h
msgctl on line 65

https://github.com/bminor/glibc/blob/e78caeb4ff812ae19d24d65f4d4d48508154277b/sysvipc/sys/sem.h
semctl on line 55

https://github.com/bminor/glibc/blob/e78caeb4ff812ae19d24d65f4d4d48508154277b/sysvipc/sys/shm.h
shmctl on line 53

https://github.com/bminor/glibc/blob/e78caeb4ff812ae19d24d65f4d4d48508154277b/time/sys/time.h
adjtime on line 102
futimes on line 200
gettimeofday on line 71
lutimes on line 196
settimeofday on line 98
utimes on line 176

https://github.com/bminor/glibc/blob/e78caeb4ff812ae19d24d65f4d4d48508154277b/time/time.h
clock_getres on line 299
clock_gettime on line 302
clock_nanosleep on line 328
clock_settime on line 305
ctime_r on line 206
nanosleep on line 328
timer_gettime on line 366
timer_settime on line 361

(backport <https://github.com/rust-lang/libc/pull/4433>)
(cherry picked from commit 4c58e4b560b29408f8f3aba012add7756ea70d0d)

show more ...


# 00c19993 30-Apr-2025 Bben01 <[email protected]>

Add constants from linux/cn_proc.h and linux/connector.h

(backport <https://github.com/rust-lang/libc/pull/4434>)
(cherry picked from commit abd00f80b61fa48e394fb600f95fee63c78c6537)


# b6971335 15-Apr-2025 Jakub Janowski <[email protected]>

Cleanup IOCTL definitions in linux_like tree

(backport <https://github.com/rust-lang/libc/pull/4418>)
(cherry picked from commit 49a6e233a085866dff1a4c410dc21d1cd96e861e)


# 3db74e3c 11-May-2025 The 8472 <[email protected]>

linux: add new flags for pwritev2/preadv2

(backport <https://github.com/rust-lang/libc/pull/4452>)
(cherry picked from commit 6e7549d34f839aa3b76476df0408a155fec81186)


# 2bb4ceae 01-May-2025 rusty-snake <[email protected]>

Add constants and types for nsfs ioctls

(backport <https://github.com/rust-lang/libc/pull/4436>)
(cherry picked from commit 0d7f0ceabe7a1b64df519032f1ebdb70faced316)


# a598506f 15-Apr-2025 Yuri Astrakhan <[email protected]>

chore: apply some clippy lints

(backport <https://github.com/rust-lang/libc/pull/4415>)
[ drop changes around the FreeBSD version in build.rs since the logic
isn't the same - Trevor ]
(cherry pick

chore: apply some clippy lints

(backport <https://github.com/rust-lang/libc/pull/4415>)
[ drop changes around the FreeBSD version in build.rs since the logic
isn't the same - Trevor ]
(cherry picked from commit a283b9e66d4a8e9371b0aa69d8534010a1c7d9e7)

show more ...


# 3d942f98 12-Apr-2025 rusty-snake <[email protected]>

Add constants for Memory-Deny-Write-Execute prctls

(backport <https://github.com/rust-lang/libc/pull/4400>)
(cherry picked from commit 4ed4eb63542dccd2f67ffd68c205155f34e28687)


# 2f3e8685 12-Apr-2025 rusty-snake <[email protected]>

Update pidfd constants and types (Linux 6.9-6.15)

(backport <https://github.com/rust-lang/libc/pull/4402>)
(cherry picked from commit 126f2c66d23a00f8dfd1d99459fb6a1f9011dfbb)


# d392ce79 11-Mar-2025 Ryan Castellucci <[email protected]>

linux: add constant PACKET_IGNORE_OUTGOING

(backport <https://github.com/rust-lang/libc/pull/4319>)
(cherry picked from commit 29ab31e2cacdcb12e8151b15daf7dc65ef195d59)


# ab9cd3c5 13-Apr-2025 David Carlier <[email protected]>

adding pid_type enum values for Linux.

[ref](https://github.com/torvalds/linux/blob/7cdabafc001202de9984f22c973305f424e0a8b7/include/linux/pid_types.h#L5)

(backport <https://github.com/rust-lang/li

adding pid_type enum values for Linux.

[ref](https://github.com/torvalds/linux/blob/7cdabafc001202de9984f22c973305f424e0a8b7/include/linux/pid_types.h#L5)

(backport <https://github.com/rust-lang/libc/pull/4403>)
(cherry picked from commit e79c8d90c8e746043d1da4828843e151329e3faf)

show more ...


# 66b58759 14-Apr-2025 Yuri Astrakhan <[email protected]>

chore: minor cleanup `mode_t` usage

`crate::mode_t` is almost never needed because it is part of prelude. Moreover, in many cases `mode_t` was already used without the prefix - thus confusing if th

chore: minor cleanup `mode_t` usage

`crate::mode_t` is almost never needed because it is part of prelude. Moreover, in many cases `mode_t` was already used without the prefix - thus confusing if they are different or not. Keeping it the same helps readability.

(backport <https://github.com/rust-lang/libc/pull/4405>)
[ Resolve conflict around vxworks S_* constants - Trevor ]
(cherry picked from commit 1984cc22406f45cae7d6c6e2a1d1bc3faa6dc3e8)

show more ...


# 8b54b5cc 03-Apr-2025 Jakub Janowski <[email protected]>

if_tun.h ioctls for android

Add missing constants from linux/if_tun.h header on android platform.
Mainly ioctl operation codes

(backport <https://github.com/rust-lang/libc/pull/4379>)
(cherry picke

if_tun.h ioctls for android

Add missing constants from linux/if_tun.h header on android platform.
Mainly ioctl operation codes

(backport <https://github.com/rust-lang/libc/pull/4379>)
(cherry picked from commit 610eb02a95cd4620ef12fd54b35553c265e8c09b)

show more ...


# 394f97fa 21-Nov-2024 Ola x Nilsson <[email protected]>

gnu: Add proper structs for fpos_t and fpos64_t

(backport <https://github.com/rust-lang/libc/pull/4345>)
(cherry picked from commit 872642ada4a2992d9125bd7c47d31a2d50491b1d)


# c6a40ea4 21-Nov-2024 Ola x Nilsson <[email protected]>

gnu: Use _FILE_OFFSET_BITS=64 versions of glibc symbols

When _FILE_OFFSET_BITS=64, glibc redirects some function calls to 64
bit versions. These symbols are sometimes the public LFS variants,
somet

gnu: Use _FILE_OFFSET_BITS=64 versions of glibc symbols

When _FILE_OFFSET_BITS=64, glibc redirects some function calls to 64
bit versions. These symbols are sometimes the public LFS variants,
sometimes hidden variants.

(backport <https://github.com/rust-lang/libc/pull/4345>)
(cherry picked from commit 2b4fafbbea40c66c8fc5c7001afb3ed2dbe141c4)

show more ...


# 19ee58a4 29-Mar-2025 David Carlier <[email protected]>

adding further BPF program flags for Linux.

[ref](https://sites.uclouvain.be/SystInfo/usr/include/linux/filter.h.html)

(backport <https://github.com/rust-lang/libc/pull/4356>)
(cherry picked from c

adding further BPF program flags for Linux.

[ref](https://sites.uclouvain.be/SystInfo/usr/include/linux/filter.h.html)

(backport <https://github.com/rust-lang/libc/pull/4356>)
(cherry picked from commit 9b8242d41c1f0dde80daca11938a239abd59a244)

show more ...


# 2a9260f8 12-Mar-2025 yuvraj wale <[email protected]>

Add: missing INPUT_PROP_XXX flags from input-event-codes.h

(backport <https://github.com/rust-lang/libc/pull/4326>)
(cherry picked from commit 43d5a538a5ce0f1c44b7943bf9a92eed8ca52a01)


# aa9eab3e 04-Mar-2025 mbyx <[email protected]>

linux: add missing tls bindings

sort semver/linux.txt properly

(backport <https://github.com/rust-lang/libc/pull/4296>)
(cherry picked from commit bdcb3eb19c91b6878220af3fbeb5d9b1336e4f59)


# bbb331a9 14-Mar-2025 Michael Buesch <[email protected]>

seccomp: Add more constants from seccomp.h

and align Android + Linux

(backport <https://github.com/rust-lang/libc/pull/4330>)
(cherry picked from commit 97432d1e07ede4132410134fa02ea371729b9d6c)


# c107c77f 11-Mar-2025 Antonin Dörwald <[email protected]>

linux: Added _IO, _IOW, _IOR, _IOWR to the exported API

(backport <https://github.com/rust-lang/libc/pull/4325>)
(cherry picked from commit cf6113d1aa733ad473de8909cabbd797aebe738c)


# 56330cd4 27-Feb-2025 John Baublitz <[email protected]>

linux: Add new netlink flags

(backport <https://github.com/rust-lang/libc/pull/4288>)
(cherry picked from commit 70527d14f3049fa672ca09ca0d197742b683cc1e)


# 29a40e2c 05-Mar-2025 Pedro Tammela <[email protected]>

linux: add devmem structs

For reference:
https://elixir.bootlin.com/linux/v6.13.5/source/include/uapi/linux/uio.h#L23

Signed-off-by: Pedro Tammela <[email protected]>

(backport <https://githu

linux: add devmem structs

For reference:
https://elixir.bootlin.com/linux/v6.13.5/source/include/uapi/linux/uio.h#L23

Signed-off-by: Pedro Tammela <[email protected]>

(backport <https://github.com/rust-lang/libc/pull/4299>)
(cherry picked from commit 4985e60cc353eeb6b2e06eb4932543f834f8b3b4)

show more ...


# ff174764 10-Mar-2025 Luca BRUNO <[email protected]>

linux_like: add F_SEAL_EXEC

This flag has been introduced in Linux kernel 6.3:
https://github.com/torvalds/linux/commit/6fd7353829cafc4067aad9eea0dc95da67e7df16

(backport <https://github.com/rust-l

linux_like: add F_SEAL_EXEC

This flag has been introduced in Linux kernel 6.3:
https://github.com/torvalds/linux/commit/6fd7353829cafc4067aad9eea0dc95da67e7df16

(backport <https://github.com/rust-lang/libc/pull/4316>)
(cherry picked from commit 61c4a0a6597174e1f6f475806e9f2467794c7f98)

show more ...


# 8410db85 25-Feb-2025 Bert Peters <[email protected]>

Add SysV semaphore constants

(backport <https://github.com/rust-lang/libc/pull/4286>)
(cherry picked from commit f84f6181c61aa0de121803da72ea6e8ca3097e04)


1234567891011