mailing list of musl libc
 help / color / mirror / code / Atom feed
* ACCT_VERSION: linux vs musl
@ 2017-03-09 21:38 Daniel Cegiełka
  2017-03-09 22:30 ` Szabolcs Nagy
  0 siblings, 1 reply; 2+ messages in thread
From: Daniel Cegiełka @ 2017-03-09 21:38 UTC (permalink / raw)
  To: musl

struct acct
{
    char ac_flag; /* Flags */
    char ac_version; /* Always set to ACCT_VERSION */


linux:

https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/include/uapi/linux/acct.h?id=refs/tags/v4.11-rc1

old 3.2 kernel:

https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/tree/include/linux/acct.h?id=refs/tags/v3.2.86


and musl:

http://git.musl-libc.org/cgit/musl/tree/include/sys/acct.h


Daniel


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: ACCT_VERSION: linux vs musl
  2017-03-09 21:38 ACCT_VERSION: linux vs musl Daniel Cegiełka
@ 2017-03-09 22:30 ` Szabolcs Nagy
  0 siblings, 0 replies; 2+ messages in thread
From: Szabolcs Nagy @ 2017-03-09 22:30 UTC (permalink / raw)
  To: musl

* Daniel Cegiełka <daniel.cegielka@gmail.com> [2017-03-09 22:38:55 +0100]:
> linux:
> 
> https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/include/uapi/linux/acct.h?id=refs/tags/v4.11-rc1
> 
> old 3.2 kernel:
> 
> https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/tree/include/linux/acct.h?id=refs/tags/v3.2.86
> 
> 
> and musl:
> 
> http://git.musl-libc.org/cgit/musl/tree/include/sys/acct.h

sys/acct.h never exposed ACCT_VERSION
(may be an oversight in glibc)
so user code cannot rely on it.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-03-09 22:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-09 21:38 ACCT_VERSION: linux vs musl Daniel Cegiełka
2017-03-09 22:30 ` Szabolcs Nagy

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).