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: 8db4a47db4c72203a9196a2c5d096664de29f8ce
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=8db4a47db4c72203a9196a2c5d096664de29f8ce
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:46:16 +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 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 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 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.
2008 Jul 29
2
syconf(_SC_PAGESIZE) versus getpagesize()
hello karel,
thanks a lot for the klibc portability merges.
current HEAD klibc failure:
mkswap.c: In function ?init_signature_page?:
mkswap.c:148: error: ?_SC_PAGESIZE? undeclared (first use in this function)
although POSIX encourages sysconf() could util-linux use getpagesize() ?
--
maks
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
2002 Sep 11
1
Suggest Rsync Performance Improvements
1. Large 1 MB I/O, all reads and write to file systems
1MB (can use setvbuf to do this with out coding)
e.g a awk programme doing 8K I/O to read 2GB file
took 16 min, a perl programme doing 1MB I/O took 16
seconds.
2. When doing rsync -a /dir1/dir2 /dir3/dir4
Do not use pipe's, as they only read/write 5k at a
time this is extremly slow, check it out with Solaris
truss. Use sockets with
2013 Jun 25
0
[LLVMdev] [PATCH] Windows implementation of enable_execute_stack
2013/5/30 Ruben Van Boxem <vanboxem.ruben at gmail.com>
> 2013/5/25 Aaron Ballman <aaron at aaronballman.com>
>
>> On Fri, May 24, 2013 at 5:53 PM, Ruben Van Boxem
>> <vanboxem.ruben at gmail.com> wrote:
>> > Hi,
>> >
>> > I submitted this patch a long while ago, together with a bunch of other
>> > changes (some of which got
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