Displaying 20 results from an estimated 1000 matches similar to: "[klibc:master] tests: Add a trivial test for sysconf()"
2020 Jul 25
0
[klibc:master] tests: Add a trivial test for sysconf()
Commit-ID: 3df6e74ab78fc63aa025d07fb849ec9508cbf1c2
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=3df6e74ab78fc63aa025d07fb849ec9508cbf1c2
Author: Ben Hutchings <ben at decadent.org.uk>
AuthorDate: Sat, 25 Jul 2020 22:46:16 +0100
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Sat, 25 Jul 2020 22:51:45 +0100
[klibc] tests: Add a trivial test
2005 Aug 07
0
kbuild: add klibc/tests
kbuild: add klibc/tests to kbuild
Add a kbuild file so we now can build the test programs.
A new dedicated target is used:
make test
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
---
commit 5492ae07007399d8838dea5f44b3d9cf3603abc3
tree 4339d2d3aa0e80bc81ac0cd8ca3b7c89486b2150
parent 64dda666c087b6e537892ac9984aff57d2b32c47
author Sam Ravnborg <sam@mars.(none)> Sun, 07 Aug 2005
2006 Jun 26
0
[klibc 38/43] Simple test suite for klibc
[klibc] Simple test suite for klibc
A very simple handful of tests for klibc. This is not by any
means an exhaustive test suite, nor are most of the tests
auto-verifying, but they are very useful to spot common porting
problems.
Signed-off-by: H. Peter Anvin <hpa at zytor.com>
---
commit b64a5142ab2aa6c030b2a254eb94384161f93f0c
tree 84a5bea0d108e9365018d4698548764be7dc68ea
parent
2020 Mar 28
0
[klibc:update-dash] Implement stpcpy() and stpncpy()
Commit-ID: 89742f0fc6f93a4a748ab783856a9d441511b808
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=89742f0fc6f93a4a748ab783856a9d441511b808
Author: Ben Hutchings <ben at decadent.org.uk>
AuthorDate: Sat, 28 Mar 2020 21:04:54 +0000
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Sat, 28 Mar 2020 21:42:12 +0000
[klibc] Implement stpcpy() and
2013 May 13
0
[klibc:sysconf] Framework and trivial implementation of sysconf(3)
Commit-ID: 0e725b1ec953aafa7cec75a22436319e945f93e1
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=0e725b1ec953aafa7cec75a22436319e945f93e1
Author: H. Peter Anvin <hpa at linux.intel.com>
AuthorDate: Mon, 13 May 2013 11:36:38 -0700
Committer: H. Peter Anvin <hpa at linux.intel.com>
CommitDate: Mon, 13 May 2013 11:36:38 -0700
[klibc] Framework and trivial
2020 Jul 25
0
[klibc:master] tests: Add a trivial test for sysconf()
Commit-ID: eae5223098f32ba5cbb83631cec2579f764ee6ff
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=eae5223098f32ba5cbb83631cec2579f764ee6ff
Author: Ben Hutchings <ben at decadent.org.uk>
AuthorDate: Sat, 25 Jul 2020 22:48:23 +0100
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Sat, 25 Jul 2020 22:48:23 +0100
[klibc] tests: Add a trivial test
2020 Sep 18
0
[PATCH common] mlutils: Simple wrapper around sysconf (_SC_NPROCESSORS_ONLN).
---
mlutils/unix_utils-c.c | 15 +++++++++++++++
mlutils/unix_utils.ml | 5 +++++
mlutils/unix_utils.mli | 9 +++++++++
3 files changed, 29 insertions(+)
diff --git a/mlutils/unix_utils-c.c b/mlutils/unix_utils-c.c
index 3309961..8acf039 100644
--- a/mlutils/unix_utils-c.c
+++ b/mlutils/unix_utils-c.c
@@ -77,6 +77,7 @@ extern value guestfs_int_mllib_mkdtemp (value val_pattern);
extern value
2020 Jul 08
1
Request to merge branch sysconf into master
The sysconf branch only contains a single commit:
[klibc] Framework and trivial implementation of sysconf(3)
The sysconf() function is required by libkcapi. I use libkcapi
in my klibc based initramfs in order to decrypt the file system
key for my rootfs.
Can somebody merge this commit into master? After that I would
like to send further patches required by libkcapi.
regards
Christian
2024 Sep 11
2
[Bug 3735] New: The ngroups variable may be set to a negative value when calling sysconf(_SC_NGROUPS_MAX)
https://bugzilla.mindrot.org/show_bug.cgi?id=3735
Bug ID: 3735
Summary: The ngroups variable may be set to a negative value
when calling sysconf(_SC_NGROUPS_MAX)
Product: Portable OpenSSH
Version: 9.8p1
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: P5
2000 Feb 03
2
use sysconf instead of NGROUPS_MAX
Currently samba (2.0.6) relies on the NGROUPS_MAX define. This makes
the number of allowed simultaneous (per-user) secondary groups a
compile-time decision.
$ find . -name \*.c | xargs grep NGROUPS
./source/lib/system.c: if (setlen > NGROUPS_MAX) {
./source/lib/replace.c: gid_t grouplst[NGROUPS_MAX];
./source/lib/replace.c: while (i < NGROUPS_MAX &&
2017 Sep 17
0
sysconf and _SC_LEVEL1_DCACHE_LINESIZE returns 0?
Hi Everyone,
I'm working on GCC112, which is POWER System S822 (Power8) machine
running CentOS 7 machine (https://gcc.gnu.org/wiki/CompileFarm):
$ cat /etc/centos-release
CentOS Linux release 7.3.1611 (AltArch)
I'm trying to determine L1 data cache size. When the following code
runs it returns 0. The man pages state -1 is an error, so I think its
claiming to succeed.
2003 Mar 09
0
ogg123 --end 1:59 patch.ogg
Hi
Here is another patch regarding time in ogg123 which is more
controvercial than the other one I send some days ago. (see
attachment)
When working with Daisy/SMIL [1] files it would be helpfull if the
user could stop play at a specific time. Currently .ogg files are not
allowed in the Daisy format but that will hopefully happen one day if
I work hard at it.
A clip in a Daisy file could look
2006 May 11
4
string to date/time?
Hey All,
Anyone know of a library for parsing "human" dates, like "this friday"
or "2 days ago"? I used to use strtotime in php, but starting from
here;
http://wiki.rubyonrails.com/rails/pages/PhpStrtotime
and doing lots of googling, I haven''t been able to find anything
similar for ruby. I know of javascript solutions to this, but I''d
need to do
2006 Jan 16
3
String date parsing
Does anyone know if a Ruby package has been written to handle
functionality similar to php''s strtotime(). I''m looking for something
that can parse almost any string (such as "1 day ago", "+1 week",
"last tuesday") into a timestamp.
I''ve played with ParseDate, but it doesn''t seem to do what I need. Any
suggestions?
Derek
2002 Aug 24
1
klibc 0.57 trouble
Hi,
I just tried compiling the latest release, but found some new problems:
- Some versions of binutils could not link any shared binaries.
One example for a broken version is 2.11.92.0.12.3, while
2.13.90.0.4 works. The error message looks like:
tests/nfs_no_rpc.o: In function `root_nfs_parse':
tests/nfs_no_rpc.o(.text+0x8): undefined reference to `strchr'
2003 May 10
0
Small Makefile.in Patch
This is a fairly inconsequential patch, but it comes in handy in a few
instances. The patch simply splits install-files into "install-files"
and "install-sysconf" - taking all of the sysconfdir stuff and putting
in its own target which I then added to 'install' and 'install-nokeys'.
I then added an install-nosysconf to NOT do that stuff.
This helped us
2011 May 23
1
More relevance for recent documents
Good afternoon
I would like to ask if is possible somehow give more relevance to the
recent documents in search results.
I dont want to sort results according to the date, I still prefer
relevance, but I would like to see recent documents with better scoring.
I was trying to add search query using AND_MAYBE, which should use
relevance from both subqueries, but it didnt add any benefit to the
2020 Aug 22
0
[ANNOUNCE] klibc 2.0.8
I have released version 2.0.8. This is available in the git
repository at:
https://git.kernel.org/pub/scm/libs/klibc/klibc.git
and as a tarball at:
https://mirrors.kernel.org/pub/linux/libs/klibc/2.0/
New features:
- Support for building with clang and lld, at least on x86
- Defined sysconf(), initially supporting only _SC_PAGE_SIZE
- Defined clearerr() as extern
- Defined stdio
2004 Jan 13
3
[Bug 787] Minor security problem due to use of deprecated NGROUPS_MAX in uidswap.c (sshd)
http://bugzilla.mindrot.org/show_bug.cgi?id=787
Summary: Minor security problem due to use of deprecated
NGROUPS_MAX in uidswap.c (sshd)
Product: Portable OpenSSH
Version: 3.7.1p2
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: sshd
AssignedTo:
2001 Jun 07
0
Patch for systems with no setreuid()
Sorry if I'm duplicating an existing patch, but...
On systems with no seteuid() that have setreuid() there is an
emulation, but if both are lacking (but we do have setresuid()),
nothing is done. The following seems to be right, but I've only got
one machine (running an ancient version of HP-UX) which needs this so
it may not be general:
--cut-here--
--- config.h.in.orig Thu Jun 7