Re: [osv-dev] [PATCH] libc: implement posix_madvise

2021-12-21 Thread Nadav Har'El
On Wed, Dec 22, 2021 at 12:42 AM Waldek Kozaczuk wrote: > The OSV_LIBC_API macro makes sure that during the compilation phase the > posix_madvise symbol is left as GLOBAL DEFAULT in the libc/mman.o where all > other symbols are left hidden. The presence of posix_madvise in those 4 > symbols

Re: [osv-dev] [PATCH] libc: implement posix_madvise

2021-12-21 Thread Waldek Kozaczuk
The OSV_LIBC_API macro makes sure that during the compilation phase the posix_madvise symbol is left as GLOBAL DEFAULT in the libc/mman.o where all other symbols are left hidden. The presence of posix_madvise in those 4 symbols files is used to feed the version script that is used by the linker

Re: [osv-dev] [PATCH] libc: implement posix_madvise

2021-12-21 Thread Nadav Har'El
Can you please remind me why we need both OSV_LIBC_API and putting the function name in 5 different files? Isn't there a big risk that later when all this export stuff is less fresh in our mind, we forget one of these 6 places and create a mess? -- Nadav Har'El n...@scylladb.com On Tue, Dec 21,

[osv-dev] [PATCH] libc: implement posix_madvise

2021-12-21 Thread Waldemar Kozaczuk
Some apps/runtimes like dotnet call posix_madvise which we do not implement. This patch adds a simple implementation of it based on madvise with a difference that only POSIX_MADV_DONTNEED is supported. On top of this as required posix_madvise() returns an error without setting errno.

[osv-dev] [COMMIT osv master] zfs: extract zfs code as optional libsolaris.so

2021-12-21 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master zfs: extract zfs code as optional libsolaris.so Originally I thought that extracting ZFS out of the kernel as a shared library would not be as easy as it it has turned out to be. Obviously after figuring couple of important

[osv-dev] [COMMIT osv master] zfs: expose some symbols in solaris part of bsd code

2021-12-21 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master zfs: expose some symbols in solaris part of bsd code This patch annotates ~90 symbols with explicit public visibility across various parts of ZFS or related code in the bsd/ subtree. This is in preparation of the next patch

[osv-dev] É TERRORISTA ASSASSINO #ROBERTOJONGHILAVARINI (OLTRE CHE 卍NAZI卍, PEDOFILO E PARTE DI NDRANGHETA) DI CRIMINALISSIMO #ISTITUTOGANASSINI ISTITUTO GANASSINI DI RICERCHE BIOMEDICHE E CRIMINALISSI

2021-12-21 Thread MAURIZIO PORCARI FIDEURAM INVESTIMENTI SGR
É TERRORISTA ASSASSINO #ROBERTOJONGHILAVARINI (OLTRE CHE 卍NAZI卍, PEDOFILO E PARTE DI NDRANGHETA) DI CRIMINALISSIMO #ISTITUTOGANASSINI ISTITUTO GANASSINI DI RICERCHE BIOMEDICHE E CRIMINALISSIMO MOVIMENTO #FAREFRONTE FARE FRONTE! IL FIGLIO DI PUTTANA..OMICIDA ROBERTO JONGHI LAVARINI SE LA FA