Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 885228 Details for
Bug 905711
sys-libs/libselinux-3.5 does not build on musl-1.2.4: selinux_restorecon.c:440:23: error: storage size of 'sb' isn't known
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
libselinux-3.5-musl-lfs.patch
libselinux-3.5-musl-lfs.patch (text/plain), 703 bytes, created by
rajas
on 2024-02-17 16:28:35 UTC
(
hide
)
Description:
libselinux-3.5-musl-lfs.patch
Filename:
MIME Type:
Creator:
rajas
Created:
2024-02-17 16:28:35 UTC
Size:
703 bytes
patch
obsolete
>diff --color -Naur libselinux-3.6.old/src/selinux_restorecon.c libselinux-3.6/src/selinux_restorecon.c >--- libselinux-3.6.old/src/selinux_restorecon.c 2023-12-13 10:46:22.000000000 -0400 >+++ libselinux-3.6/src/selinux_restorecon.c 2024-02-17 12:08:29.352291673 -0400 >@@ -436,7 +436,7 @@ > file_spec_t *prevfl, *fl; > uint32_t h; > int ret; >- struct stat64 sb; >+ struct stat sb; > > __pthread_mutex_lock(&fl_mutex); > >@@ -450,7 +450,7 @@ > for (prevfl = &fl_head[h], fl = fl_head[h].next; fl; > prevfl = fl, fl = fl->next) { > if (ino == fl->ino) { >- ret = lstat64(fl->file, &sb); >+ ret = lstat(fl->file, &sb); > if (ret < 0 || sb.st_ino != ino) { > freecon(fl->con); > free(fl->file);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 905711
:
861140
|
861141
|
861142
|
885227
| 885228