8000 Tags · tklauser/go-sysconf · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Tags: tklauser/go-sysconf

Tags

v0.3.5

Toggle v0.3.5's commit message
go.mod: bump dependencies

- github.com/tklauser/numcpus to v0.2.2
- golang.org/x/sys to v0.0.0-20210316164454-77fc1eacc6aa

v0.3.4

Toggle v0.3.4's commit message
go.mod: update github.com/tklauser/numcpus to v0.2.1

v0.3.3

Toggle v0.3.3's commit message
Make SC_CLK_TCK return constant 100 on Linux

CLK_TCK is always 100 on Linux. For example, musl hard-codes this
https://git.musl-libc.org/cgit/musl/tree/src/conf/sysconf.c#n30 and
glibc looks it up from the ELF auxv, but the kernel sets it to 100 on
all architectures (except alpha and ia64, both of which are obsolete and
not supported by Go). Also see
containerd/cgroups#12

v0.3.2

Toggle v0.3.2's commit message
go.mod: update github.com/tklauser/numcpus to v0.2.0

v0.3.1

Toggle v0.3.1's commit message
Add missing values for linux/mips64le

These were missed in commit d8ffb70 ("Define variable values per
GOARCH on linux").

v0.3.0

Toggle v0.3.0's commit message
Add support for solaris

For now, duplicate the unix.Sysconf libc wrapper to implement Sysconf.
Once https://golang.org/286593 is merged, this can be replaced by
unix.Sysconf.

v0.2.2

Toggle v0.2.2's commit message
Add TestGetconf

Test a few variables against `getconf(1)`. These should be available on
all supported platforms.

v0.2.1

Toggle v0.2.1's commit message
Define variable values per GOARCH on linux

Some values might differ between platforms (e.g. PTHREADS_STACK_MIN).
Thus, generate all values per GOARCH to account for any platform
specific values.

This effectively also reverts commit 4ca82d1 and generates the
POSIX_V{6,7}_* variable values again.

The zsysconf_values_linux_$GOARCH.go files were generated using
linux/Dockerfile from golang.org/x/sys/unix with local modification to
generate the values from sysconf_values_linux.go

v0.2.0

Toggle v0.2.0's commit message
Define POSIX_V{6,7}_* pointer/off_t variables depending on word size

Depending on word size (32-bit vs. 64-bit) these are defined
differently:

POSIX_V7_ILP32_OFF32
POSIX_V7_ILP32_OFFBIG
POSIX_V7_LP64_OFF64
POSIX_V7_LPBIG_OFFBIG
POSIX_V6_ILP32_OFF32
POSIX_V6_ILP32_OFFBIG
POSIX_V6_LP64_OFF64
POSIX_V6_LPBIG_OFFBIG

Also see <bits/environments.h>

v0.1.0

Toggle v0.1.0's commit message
go.mod: bump dependencies

- github.com/tklauser/numcpus to v0.1.0
- golang.org/x/sys to v0.0.0-20210112091331-59c308dcf3cc

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
0