mirror of
https://github.com/systemd/systemd.git
synced 2026-08-02 22:20:20 +00:00
missing: add __NR_getrandom for powerpc architecture
This commit is contained in:
@@ -177,6 +177,8 @@ static inline int memfd_create(const char *name, unsigned int flags) {
|
||||
# define __NR_getrandom 352
|
||||
# elif defined(__s390x__)
|
||||
# define __NR_getrandom 349
|
||||
# elif defined(__powerpc__)
|
||||
# define __NR_getrandom 359
|
||||
# else
|
||||
# warning "__NR_getrandom unknown for your architecture"
|
||||
# define __NR_getrandom 0xffffffff
|
||||
|
||||
Reference in New Issue
Block a user