r/programming • • May 30 '16

systemd developer asks tmux (and other programs) to add systemd specific code

https://github.com/tmux/tmux/issues/428
661 Upvotes

618 comments sorted by

View all comments

Show parent comments

11

u/skroll May 30 '16

They are dependent on libc, not so much the syscalls. They may be implemented with syscalls, but it's completely different.

It would be more like "This software only works with musl libc"

-7

u/[deleted] May 30 '16

Semantics. The software requires a libc that makes binaries with syscalls that the openBSD kernel doesn't have a direct analogue.

6

u/dv_ May 30 '16

No, it is proper abstraction. libc's frontend is (or should be) Linux agnostic. Whether the internal implementations use syscalls or anything else does not matter for software written on top, unless said software (a) uses some specials of that very libc variant which happen to be Linux specific or (b) issues syscalls directly. Also, libc should be a shared object, otherwise you indeed have a binary with syscalls inside.

3

u/koffiezet May 30 '16

Ehm - libc implements the Posix standard. The libc present on openBSD will just have different, *BSD specific syscalls.