[RFC/PATCH 06/10] libbb: add fanotify support on uClibc

Laurent Bercot ska-dietlibc at skarnet.org
Thu Aug 13 14:27:34 UTC 2015


On 13/08/2015 15:57, Bartosz Golaszewski wrote:
> Fanotify syscalls are not supported in uClibc. Add a new include
> file - missing_syscalls.h - implementing the syscalls directly in
> busybox.

  It's not a good idea to start fixing libc problems in applications.
If you want to use a system call that your favorite libc doesn't support,
please go fix your favorite libc instead of making busybox uglier -
why should busybox carry that responsibility?

  Also, it's a bug to guard features with a macro that only identifies
an implementation. If one day the stars align and a new uClibc release
comes out that implements fanotify(), your code will break, or become
redundant at best.

-- 
  Laurent



More information about the busybox mailing list