• R/O
  • HTTP
  • SSH
  • HTTPS

提交

标签
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

修订版42ff2bba8eb24626919672f0bc129289cdca6fee (tree)
时间2018-02-12 21:27:17
作者Alexey Neyman <stilor@att....>
CommiterWaldemar Brodkorb

Log Message

uClibc-ng does not implement name_to_handle_at

... so don't declare it. Otherwise, eudev finds it declared and tries
to link with it - and fails.

Signed-off-by: Alexey Neyman <stilor@att.net>

更改概述

差异

--- a/libc/sysdeps/linux/aarch64/bits/fcntl.h
+++ b/libc/sysdeps/linux/aarch64/bits/fcntl.h
@@ -242,15 +242,6 @@ struct f_owner_ex
242242 file to zeros. */
243243
244244
245-/* File handle structure. */
246-struct file_handle
247-{
248- unsigned int handle_bytes;
249- int handle_type;
250- /* File identifier. */
251- unsigned char f_handle[0];
252-};
253-
254245 /* Maximum handle size (for now). */
255246 # define MAX_HANDLE_SZ 128
256247 #endif
@@ -315,18 +306,6 @@ extern int fallocate64 (int __fd, int __mode, __off64_t __offset,
315306 # endif
316307
317308
318-/* Map file name to file handle. */
319-extern int name_to_handle_at (int __dfd, const char *__name,
320- struct file_handle *__handle, int *__mnt_id,
321- int __flags) __THROW;
322-
323-/* Open file using the file handle.
324-
325- This function is a possible cancellation point and therefore not
326- marked with __THROW. */
327-extern int open_by_handle_at (int __mountdirfd, struct file_handle *__handle,
328- int __flags);
329-
330309 #endif /* use GNU */
331310
332311 __END_DECLS