where to fix, i.e. a return -err in
make_sockaddr_port() after the getname call, or in all the callers of
make_sockaddr_port().
--
Pino Toscano
#include sys/types.h
#include sys/socket.h
#include netinet/in.h
#include stdio.h
#include errno.h
#include unistd.h
int main()
{
int s, e;
struct
Alle lunedì 11 ottobre 2010, Samuel Thibault ha scritto:
Pino Toscano, le Sun 10 Oct 2010 23:46:10 +0200, a écrit :
make_sockaddr_port() calls the getname function of the sock-ops of
the current sock struct, which can be one of
- linux-src/net/ipv6/af_inet6.c:inet6_getname()
- linux-src
couldn't have been compiled.
Couldn't it be renamed to something less generic?
Or just removed, IMHO.
--
Pino Toscano
signature.asc
Description: This is a digitally signed message part.
. */
#define st_dev st_fsid
Is this allowed by POSIX (most probly I'm missing the right part(s) of
it)?
If not, would a fix for the above be swapping member and define, like:
__fsid_t st_dev; /* File system ID. */
#define st_fsid st_dev
?
Thanks,
--
Pino Toscano
struct MyTest
{
int
return EOPNOTSUPP.
By default, the warning message for this setsockopt(9 is not fatail
though.
--
Pino Toscano
signature.asc
Description: This is a digitally signed message part.
]| inetutils-tools [hurd] , ${shlibs:Depends},
${misc:Depends}
iproute [linux-any] | inetutils-tools [hurd-any]
--
Pino Toscano
signature.asc
Description: This is a digitally signed message part.
* kern/mach_clock.c (monotonic, mmonotonic): New variables.
(clock_interrupt): Call `time_value_add_usec' also on `monotonic', and
`update_mapped_time' also for `mmonotonic'.
(mapable_time_init): Call `mapable_time_init_time' also `monotonic' and
`mmonotonic'.
---
kern/mach_clock.c |6 ++
Hi,
after Samuel's hint about mapped time, I've been able to add a new clock
in GNU Mach, only updated on clock interrupts.
Also, this clock is exposed like as device like the time one.
Pino Toscano (4):
Make update_mapped_time() take also the mapped time variable
Make `mapable_time_init
* kern/mach_clock.c (update_mapped_time): Add a second parameter for the
mapped time variable, instead of harcoding it to `mtime'.
---
kern/mach_clock.c | 16
1 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/kern/mach_clock.c b/kern/mach_clock.c
index
* kern/mach_clock.c (mapable_time_init_time): New function doing the job
previously done by `mapable_time_init', taking the time variables and the
string for the job.
(mapable_time_init): Call `mapable_time_init_time' for `time' and `mtime'.
---
kern/mach_clock.c | 17 +
1 files
* i386/i386at/conf.c (dev_name_list): Add a new `monotonic' device.
* i386/i386at/model_dep.c (monotonicmmap): New function to map `mmonotonic'.
---
i386/i386at/conf.c |8
i386/i386at/model_dep.c | 15 +++
2 files changed, 23 insertions(+), 0 deletions(-)
diff
.
Attached there is a git-format'ed patch to fix all (hopefully) of those
cases.
--
Pino Toscano
From 2ee8a64be2d79eb006eebbac95c859f1fc7676f0 Mon Sep 17 00:00:00 2001
From: Pino Toscano toscano.p...@tiscali.it
Date: Tue, 18 Oct 2011 23:46:36 +0200
Subject: [PATCH] Add missing format strings for error
.
undefined
--
Pino Toscano
From f7835870d3a2f0447faa31f1159a50a63e26eac9 Mon Sep 17 00:00:00 2001
From: Pino Toscano toscano.p...@tiscali.it
Date: Tue, 18 Oct 2011 23:47:51 +0200
Subject: [PATCH] libdiskfs: handle _PC_PATH_MAX in pathconf
Explicitly return -1 also for _PC_PATH_MAX to indicate
/open_issues/libpthread_pthread_key_create_reuse.html
--
Pino Toscano
From 557337b9348f29b29acb4b226fd8ffddf5f22d30 Mon Sep 17 00:00:00 2001
From: Pino Toscano toscano.p...@tiscali.it
Date: Wed, 2 Nov 2011 17:38:46 +0100
Subject: [PATCH] Remove all the values when deleting a key
When deleting a key
Hi,
attached there is a patch to do validity checks for the pthread key
passed to pthread_getspecific and pthread_setspecific (more details in
the commit log), with two very simple tests for the new checks.
Thanks,
--
Pino Toscano
From e64c1c3f36168593eccb577218971d4fa0448ee0 Mon Sep 17 00:00
enough
Note both these two problems also prevent gamin to work, and the
select() issue also may affect other software.
[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=79358
--
Pino Toscano
signature.asc
Description: This is a digitally signed message part.
Alle sabato 27 agosto 2011, Samuel Thibault ha scritto:
Roland McGrath, le Sat 27 Aug 2011 10:03:24 -0700, a écrit :
Pino Toscano, le Fri 26 Aug 2011 20:29:43 +0200, a écrit :
+extern vm_offset_t monotonicmmap();
+#definemonotonicname monotonic
Ah, I was rather
), causing also a warning task XXX deallocating an invalid
port YYY, most probably a bug in that situation.
--
Pino Toscano
Refuse negative socket domains right away; otherwise, it is possible to read
and set out-of-bounds locations of the `servers' array (returning the values
at those invalid memory
Alle lunedì 21 novembre 2011, Samuel Thibault ha scritto:
Pino Toscano, le Mon 21 Nov 2011 01:25:55 +0100, a écrit :
attached there is a patch for glibc to check for negative indexes
in _hurd_socket_server().
Thanks! Could you submit it to libc-alpha? (with rol...@gnu.org
CC-ed)
Updated
Alle lunedì 21 novembre 2011, Samuel Thibault ha scritto:
Pino Toscano, le Mon 21 Nov 2011 01:25:55 +0100, a écrit :
attached there is a patch for glibc to check for negative indexes
in _hurd_socket_server().
Thanks! Could you submit it to libc-alpha? (with rol...@gnu.org
CC-ed)
Updated
?
On Linux the address length is set to 0 by recvfrom(), so I guess that
this kind of sockets have no address?
--
Pino Toscano
#include sys/types.h
#include sys/socket.h
#include stdio.h
#include errno.h
#include string.h
#include unistd.h
#include stdlib.h
void die(int x, const char *s)
{
perror(s
Alle mercoledì 23 novembre 2011, Thomas Schwinge ha scritto:
Hi!
On Mon, 21 Nov 2011 22:23:26 +0100, Pino Toscano
toscano.p...@tiscali.it wrote:
Reject negative socket domains right away; otherwise, it is
possible to read and set out-of-bounds locations of the `servers'
array (returning
). */
if (sockaddrlen != sizeof(addr)) {
croak(Bad arg length for %s, length is %d, should be %d,
Socket::unpack_sockaddr_un,
sockaddrlen, sizeof(addr));
}
# endif
--
Pino Toscano
#include sys/types.h
#include sys/socket.h
Alle domenica 4 dicembre 2011, Samuel Thibault ha scritto:
Pino Toscano, le Sun 04 Dec 2011 13:14:52 +0100, a écrit :
while debugging, I apparently stumbled upon a bug of getsockname()
for a bound unix socket, as also the attached test program shows:
sun_path is left unfilled, as also
Hi,
attached there is a patch to fix in pflocal and pfinet the return values
for wrong values of socket types and protocols on socket creation.
--
Pino Toscano
From 904cbb3dbf1478995629f0cfb83713de786c25e8 Mon Sep 17 00:00:00 2001
From: Pino Toscano toscano.p...@tiscali.it
Date: Tue, 6 Dec
Hi,
attached there is a patch to add some validation for parameters of
Mach's nanosleep() (used by Hurd).
Thanks,
--
Pino Toscano
mach: nanosleep: check for invalid parameter values
Check for invalid values of the `requested_time' parameters; move the
calculation of `ms' after the validation
.
I didn't have much success in locating who is replying to the io_read
for those fd's, so for now I'll just report the issue.
--
Pino Toscano
signature.asc
Description: This is a digitally signed message part.
it be making our tools like swapon/mount/etc a bit more compatible
(in term of command line options) with the other OSes' ones a (low
priority) goal?
--
Pino Toscano
From d34079adfadebc5f0e936e92257811676b2ebe88 Mon Sep 17 00:00:00 2001
From: Pino Toscano toscano.p...@tiscali.it
Date: Sat, 28 Jan 2012 22
:
This patch actually adds the actual new clock, taking care of adding
microseconds to it, and switching the mapped time struct to the new
_extended one.
As usual, comments, remarks, etc are welcome.
(I will provide clean git commits with proper changelog once the work i
finalized.)
Thanks,
--
Pino
I'm not too sure is the linking to rt in case libpthread is
compiled a glibc addon (as result of the changes by Samuel an hour ago).
--
Pino Toscano
From d0c2da9c229d90c2301f2263c0b8856ceaf9f517 Mon Sep 17 00:00:00 2001
From: Pino Toscano toscano.p...@tiscali.it
Date: Sun, 22 Apr 2012 00:22:47
,
--
Pino Toscano
hurd: compliance fixes for getgroups
Fail with EINVAL when the requested number of groups is negative,
or when it is positive but less than the actual number of groups.
2012-04-27 Pino Toscano toscano.p...@tiscali.it
* sysdeps/mach/hurd/getgroups.c (__getgroups): Return -1
Hi,
attached there is a patch to fix few issues in Hurd's getlogin_r():
avoid a static buffer, and check for buffer shorter than necessary.
Thanks,
--
Pino Toscano
hurd: compliance fixes for getlogin_r
* do not make `login' static, as it would make getlogin_r no more reentrant
* fail
Hi,
attached there is a patch to fix few issues in Hurd's ptsname_r(),
mostly checking for more error conditions and making sure to set as
errno and return the proper values on error conditions.
Thanks,
--
Pino Toscano
hurd: compliance fixes for ptsname_r
ptsname_r on failure returns
Alle venerdì 27 aprile 2012, Roland McGrath ha scritto:
2012-04-27 Pino Toscano toscano.p...@tiscali.it
* sysdeps/mach/hurd/getgroups.c (__getgroups): Return -1 and set
EINVAL for negative `n' or less than `ngids'.
The norm is to use all caps and no quotes to mention local
failing with EINVAL (and the
man page even explicitly mention that return value, unlike with
basically most of the other functions). Should gnulib do that check only
on Linux, then?
Attached the updated patch, also with the hits of the other reviews.
Thanks,
--
Pino Toscano
hurd: fixes
Hi,
attached there is a patch to make Mach's nanosleep() (used by Hurd) a
bit more POSIX compliant:
* check for validity of the `requested_time' parameter
* return EINTR when interrupted
* modify correctly the `remaining' parameter only when interrupted
Thanks,
--
Pino Toscano
mach: compliance
Hi,
currently, sendto() crashes when the specified addr is NULL; the
attached patch fixes it making sendto() with NULL addr behave as it
would be a plain send().
Thanks,
--
Pino Toscano
Hurd: sendto: do not crash when addr is NULL
Work also when the specified addr is NULL; simplify also
alive around the AF_LOCAL case's calls,
but that seems OK.
Done.
Updated patch attached.
--
Pino Toscano
Hurd: sendto: do not crash when ADDR is NULL
Create a new create_address_port subroutine to isolate the address port creation
(for both local and remove sockets), and use it inside
by internal subroutines, and
assumed it was okay (since inside them you want to refer to the local
err instead of the outermost one.
Thanks for the further review, patch attached.
(I would use the non-ChangeLog lines of the patch header as commit log,
would that be okay?)
--
Pino Toscano
Hurd
Hi,
two simple patches to implement llistxattr and lremovexattr the same way
respectively listxattr and removexattr are implemented, just passing
O_NOLINK. This way all the *xattr functions are implemented, at least to
use the internal _hurd_xattr_*.
Thanks,
--
Pino Toscano
Hurd: provide
the PF_LINK/AF_LINK
defines be the right solution?
--
Pino Toscano
signature.asc
Description: This is a digitally signed message part.
patch comments them out (instead of removing them, to keep
their placeholders).
Thanks,
--
Pino Toscano
Hurd: comment PF_LINK/AF_LINK defines
Comment out the PF_LINK and AF_LINK defines, since they are usually associated
with struct sockaddr_dl, which is not available on Hurd.
2012-06-22 Pino
Hi,
Alle mercoledì 13 giugno 2012, Pino Toscano ha scritto:
Alle martedì 12 giugno 2012, Roland McGrath ha scritto:
That's almost right, but you should avoid calling
__mach_port_deallocate if APORT is MACH_PORT_NULL. Also, avoid
shadowing the local variable ERR with one of the same name
Hi,
the attached patch implements renameat for Hurd; it seems to work fine,
and tst-renameat now passes.
The copyright starts from the year of the rename implementation, as I
basically copied it and slightly adapted to the at behaviour.
Thanks,
--
Pino Toscano
Hurd: implement renameat
that looks fine, so go ahead and commit it with that
change.
Ok, I will do.
Thanks,
--
Pino Toscano
signature.asc
Description: This is a digitally signed message part.
a1_native and
a2_native).
Does it look good?
--
Pino Toscano
Provide a generic empty version of __check_native.
Add an empty implementation of __check_native, as used in the posix version of getaddrinfo.
This allows non-Linux GNU-based OSes to compile.
2012-07-26 Pino Toscano toscano.p
.
Thanks,
--
Pino Toscano
Hurd: fix fdatasync/fsync if the fd does not support file_sync
Handle the case of the fd port not implementing file_sync (returning MIG_BAD_ID) or implementing a stub (EOPNOTSUPP),
properly returning EINVAL.
2012-08-29 Pino Toscano toscano.p...@tiscali.it
* sysdeps/mach
Hi,
attached there is a minor patch to fix the return values of
unimplemented cases, i.e. using __hurd_fail to set EOPNOTSUPP properly.
Thanks,
--
Pino Toscano
Hurd: ptrace: use __hurd_fail for EOPNOTSUPP
2012-08-29 Pino Toscano toscano.p...@tiscali.it
* sysdeps/mach/hurd/ptrace.c (ptrace
Hi,
attached there is a new patch for procfs to improve again the file name
in stat/status files for PIDs.
Basically, it just considers only the first word in case the process
name has more (e.g. when it changed its own).
Thanks,
--
Pino Toscano
From ebf2b049ea6963026766763df1697467f5806327
,
--
Pino Toscano
From a35bd267aba2954df85ee3403981395bf8c9e736 Mon Sep 17 00:00:00 2001
From: Pino Toscano toscano.p...@tiscali.it
Date: Fri, 7 Sep 2012 18:21:00 +0200
Subject: [PATCH 1/2] tmpfs: extract size string parsing in an own function
* tmpfs/tmpfs.c (parse_opt_size): New function, broken out
Alle lunedì 10 settembre 2012, Samuel Thibault ha scritto:
Pino Toscano, le Mon 10 Sep 2012 17:31:32 +0200, a écrit :
Alle domenica 9 settembre 2012, Samuel Thibault ha scritto:
Pino Toscano, le Fri 07 Sep 2012 20:02:56 +0200, a écrit :
+static int args_filename_length (const char *name
Hi,
it seems that in some occasions (i.e on malloc failure) pthread_create
can return ENOMEM, which is not a valid POSIX error number.
Attached there is a patch for libpthread to normalize ENOMEM to EAGAIN.
Thanks,
--
Pino Toscano
From 2ee7e1e143784452ef325a0c80c106e972a3ffdc Mon Sep 17 00:00
stuff), so if
you have more ideas I will hear them.
--
Pino Toscano
signature.asc
Description: This is a digitally signed message part.
console-run resilient against missing /dev/console]
(http://lists.gnu.org/archive/html/bug-hurd/2012-03/msg2.html),
improving the overall reliability of the system.
Not sure how they improve the overall reliability of the system...
* Pino Toscano improved the POSIX compliance of the Hurd
of months.)
Thanks,
--
Pino Toscano
From 399f9112f763c095abe44567135307c554746e9e Mon Sep 17 00:00:00 2001
From: Pino Toscano toscano.p...@tiscali.it
Date: Sun, 23 Sep 2012 23:53:00 +0200
Subject: [PATCH] configure: add --with-version-suffix=STRING
Add the possibility to append a custom string
Hi,
Alle lunedì 24 settembre 2012, Thomas Schwinge ha scritto:
Generally OK, but two comments:
On Mon, 24 Sep 2012 00:04:20 +0200, Pino Toscano
toscano.p...@tiscali.it wrote:
Subject: [PATCH] configure: add --with-version-suffix=STRING
Add the possibility to append a custom string
provided.
Thanks,
--
Pino Toscano
Hurd: mknodat: create also sockets
2012-09-28 Pino Toscano toscano.p...@tiscali.it
* sysdeps/mach/hurd/xmknodat.c: Allow to create sockets. Simplify the
check for translators needing the device number.
--- a/sysdeps/mach/hurd/xmknodat.c
+++ b/sysdeps/mach/hurd
it does is testing the creation of a single socket.
--
Pino Toscano
signature.asc
Description: This is a digitally signed message part.
of the change is to test the mknodat interface,
not any particular kind of node. Just change the test to create a
FIFO instead.
Right, patch attached.
--
Pino Toscano
tst-mknodat: create a FIFO instead of a socket
A FIFO is the only special file which is guaranteed to be created with mknod
Alle venerdì 28 settembre 2012, Roland McGrath ha scritto:
That change looks fine if the test still passes on Linux.
It does on Linux/x86_64, so I pushed it.
Thanks for the reviews,
--
Pino Toscano
signature.asc
Description: This is a digitally signed message part.
Hi,
attached there is a simple patch to make
(f)pathconf(path, _PC_2_SYMLINKS) working for libdiskfs-based
translators, properly indicating whether the FS supports symlinks.
Thanks,
--
Pino Toscano
From edbb0cc20709e0599e1490b81aa1841114f3f0bc Mon Sep 17 00:00:00 2001
From: Pino Toscano
Hi,
attached there is a patch to add a custom version (copied from the unix
sysdep) of confstr.h, to avoid using the bsd header which adds a non-
existing /usr/ucb.
Thanks,
--
Pino Toscano
Hurd: fix the _CS_PATH getconf value
Copy sysdeps/unix/confstr.h to avoid using sysdeps/unix/bsd
Hi,
The following two patches allow to
a) make use of the pthread glibc sysdep, which provides implementation
for some functions using pthreads (e.g. aio stuff)
b) hook the libpthread version inside glibc, so it is properly returned
by confstr.
--
Pino Toscano
From
Hi,
Alle giovedì 27 settembre 2012, Thomas Schwinge ha scritto:
On Mon, 24 Sep 2012 02:04:05 +0200, Guillem Jover
guil...@hadrons.org wrote:
On Mon, 2012-09-24 at 00:30:39 +0200, Pino Toscano wrote:
Alle lunedì 24 settembre 2012, Thomas Schwinge ha scritto:
On Mon, 24 Sep 2012 00:04:20
Alle martedì 2 ottobre 2012, Thomas Schwinge ha scritto:
Hi!
On Mon, 1 Oct 2012 19:59:35 +0200, Pino Toscano
toscano.p...@tiscali.it wrote:
Alle giovedì 27 settembre 2012, Thomas Schwinge ha scritto:
On Mon, 24 Sep 2012 02:04:05 +0200, Guillem Jover
guil...@hadrons.org wrote
Hi,
Alle lunedì 1 ottobre 2012, Andreas Jaeger ha scritto:
On Sunday, September 30, 2012 17:53:33 Pino Toscano wrote:
attached there is a patch to add a custom version (copied from the
unix sysdep) of confstr.h, to avoid using the bsd header which adds
a non- existing /usr/ucb
Alle mercoledì 3 ottobre 2012, Thomas Schwinge ha scritto:
Hi!
On Wed, 3 Oct 2012 17:50:38 +0200, Pino Toscano
toscano.p...@tiscali.it wrote:
Alle martedì 2 ottobre 2012, Thomas Schwinge ha scritto:
On Mon, 1 Oct 2012 19:59:35 +0200, Pino Toscano
toscano.p...@tiscali.it wrote
not support symlinks.
I've reverted the commit, and going to propose a better (I hope)
solution for this.
Thanks,
--
Pino Toscano
signature.asc
Description: This is a digitally signed message part.
and binary compatibility,
and a filesystem providing such diskfs_pathconf implementation should
run fine even with an older libdisks (but I did not test this case).
What do you think about this solution?
--
Pino Toscano
--- a/libdiskfs/diskfs.h
+++ b/libdiskfs/diskfs.h
@@ -553,6 +553,9
Alle mercoledì 29 agosto 2012, Pino Toscano ha scritto:
Hurd's implementations of fdatasync and fsync do not take into
account the fact that file_sync could not be implemented in the
receiving port, or implemented as stub, returning (E)MIG_BAD_ID or
EOPNOTSUPP. Attached there is a patch
Alle mercoledì 29 agosto 2012, Pino Toscano ha scritto:
attached there is a minor patch to fix the return values of
unimplemented cases, i.e. using __hurd_fail to set EOPNOTSUPP
properly.
Ping.
--
Pino Toscano
signature.asc
Description: This is a digitally signed message part.
.
--
Pino Toscano
signature.asc
Description: This is a digitally signed message part.
is not supported.
Attached an updated patch to handle only EOPNOTSUPP, with comment added.
Thanks,
--
Pino Toscano
Hurd: fix fdatasync/fsync if the fd does not support file_sync
Handle the case of the fd port implementing a stub (EOPNOTSUPP),
properly returning EINVAL.
2012-10-29 Pino Toscano toscano.p
2.16.
Also, I'm slightly in doubt about the ChangeLog snippet, not totally
sure about how to write it properly in this case.
--
Pino Toscano
From 64d00b6482f03f7dfb6f3d4775a9bf44e53cec63 Mon Sep 17 00:00:00 2001
From: Pino Toscano toscano.p...@tiscali.it
Date: Fri, 16 Nov 2012 15:04:29 +0100
Hi,
the attached patch makes check-local-headers.sh ignore headers from the
mach subdirectory, since they the Mach kernel headers used to build
glibc on Hurd.
Thanks,
--
Pino Toscano
check-local-headers: ignore Mach kernel headers
2012-11-16 Pino Toscano toscano.p...@tiscali.it
* scripts
that close the file.
Thanks,
--
Pino Toscano
#0 0x0106281c in swtch_pri () at /build/buildd-eglibc_2.13-36-hurd-i386-IvO_gk/eglibc-2.13/build-tree/hurd-i386-libc/mach/swtch_pri.S:2
#1 0x010640a4 in __spin_lock_solid (lock=0x11ded74) at spin-solid.c:27
#2 0x0106429d in __mutex_lock_solid (lock
this be considered
acceptable?
Thanks,
--
Pino Toscano
Simplify ulimit implementations
The ulimit implementation in sysdeps/unix/bsd/ulimit.c produces wrong return
values, while sysdeps/unix/sysv/linux/ulimit.c is generally better. Thus,
copy the latter into a more general sysdeps/unix/ulimit.c
Hi,
(bug-hurd only for this)
Alle sabato 17 novembre 2012, Pino Toscano ha scritto:
Ignoring the fact that in libio mmap is not used on Hurd (it will
need a different fix),
This has been reported by Thomas Schwinge one year ago:
http://thread.gmane.org/87mxd9hl2n
Hi,
simple implementation of the Linux-ish syncfs on Hurd.
Thanks,
--
Pino Toscano
Hurd: implement syncfs
2012-11-19 Pino Toscano toscano.p...@tiscali.it
* sysdeps/mach/hurd/syncfs.c: New file.
--- /dev/null
+++ b/sysdeps/mach/hurd/syncfs.c
@@ -0,0 +1,33 @@
+/* Copyright (C) 2012 Free
/bsd/ file.
OK, I will split the commits once approved.
--
Pino Toscano
signature.asc
Description: This is a digitally signed message part.
Hi,
Alle lunedì 19 novembre 2012, Pino Toscano ha scritto:
simple implementation of the Linux-ish syncfs on Hurd.
Updated patch according to Roland's and Christoph's comments (thanks!)
--
Pino Toscano
Hurd: implement syncfs
2012-11-19 Pino Toscano toscano.p...@tiscali.it
* sysdeps/mach
.
--
Pino Toscano
muntrace: reset file and hooks before finalizing the stream
fclose will call free, invoking its hook, then fprintf which would indirectly
try to allocate a buffer, and this can cause malloc to be used (thus its hook
to be invoked) if libio uses malloc instead of mmap; given any
with
the others and do the check.
(few months later... I forgot I sent this patch, so I'm bring it again.)
I updated the patch; is it okay to commit, or should I bring back the
buf==NULL check?
--
Pino Toscano
Hurd: fixes for ptsname and ptsname_r
ptsname_r on failure returns the value
-dev (neither was installed by apt-get build-dep hurd, or
build-essential or devscripts).
Those have been added by Samuel in the packaging repository some time
ago, and will be part of the next upload.
--
Pino Toscano
signature.asc
Description: This is a digitally signed message part.
Hi,
attached there is a small patch for procfs to implement statfs,
returning only the two fields we can fill for sure.
May I push it?
Thanks,
--
Pino Toscano
From 1b7ad5c5d601b6388f0fc871b4fa42d231c05400 Mon Sep 17 00:00:00 2001
From: Pino Toscano toscano.p...@tiscali.it
Date: Thu, 6 Dec 2012
Alle giovedì 6 dicembre 2012, Thomas Schwinge ha scritto:
Hi!
On Thu, 6 Dec 2012 17:57:32 +0100, Pino Toscano
toscano.p...@tiscali.it wrote:
Initial implementation of statfs reply, just returning the
filesystem type and its id.
* netfs.c: Include sys/statvfs.h and unistd.h
weak.
OK.
Attached there are the two patches of the ulimit reorganization, as you
suggested in a previous email:
1) move the linux implementation as posix (including limits.h)
2) remove the bsd implementation
Thanks,
--
Pino Toscano
ulimit: move linux implementation as posix
The linux
collecting inputs from poll,
d[i].io_port is the fd passed, which has no guarantee to be lower than
_hurd_dtablesize.
--
Pino Toscano
signature.asc
Description: This is a digitally signed message part.
Alle martedì 22 gennaio 2013, Svante Signell ha scritto:
On Tue, 2013-01-22 at 19:15 +0100, Pino Toscano wrote:
Alle martedì 22 gennaio 2013, Svante Signell ha scritto:
Attached is the first patch for a 3-way split of hurdselect.c
into three cases: DELAY, POLL, SELECT
What's the use
the bsd file.
Done, I think I should have done everything correctly.
The addition of limits.h was needed on Hurd (I tested it before
sending the first version of this ulimit rework) -- in any case,
LONG_MAX is explicitly used, so that include is not wrong.
Thanks,
--
Pino Toscano
, you need to let a couple of signals through:
handle SIGPWR noprint nostop
handle SIGXCPU noprint nostop
See ‘gdbinit’ in the Guile distro.
You will need to make gdb ignore and let through SIGUSR1 and SIGUSR2,
which are used on Hurd by libgc for its internal communication.
--
Pino
number of fd's.)
Please remove this change, which is wrong.
--
Pino Toscano
signature.asc
Description: This is a digitally signed message part.
Alle mercoledì 13 febbraio 2013, Svante Signell ha scritto:
On Tue, 2013-02-12 at 23:52 +0100, Pino Toscano wrote:
Alle martedì 12 febbraio 2013, Svante Signell ha scritto:
* change the FD_SETSIZE upper value check to larger than or
equal
from larger than.
(from POSIX
Alle mercoledì 13 febbraio 2013, Samuel Thibault ha scritto:
Pino Toscano, le Wed 13 Feb 2013 00:08:21 +0100, a écrit :
Alle mercoledì 13 febbraio 2013, Svante Signell ha scritto:
On Tue, 2013-02-12 at 23:52 +0100, Pino Toscano wrote:
Alle martedì 12 febbraio 2013, Svante Signell ha
Alle mercoledì 13 febbraio 2013, Svante Signell ha scritto:
On Wed, 2013-02-13 at 00:08 +0100, Pino Toscano wrote:
Alle mercoledì 13 febbraio 2013, Svante Signell ha scritto:
On Tue, 2013-02-12 at 23:52 +0100, Pino Toscano wrote:
Alle martedì 12 febbraio 2013, Svante Signell ha scritto
Hi,
attached a small patch to include stdlib.h or mach.h in few places
where they were needed, to fix the compilation warnings about lacks of
prototypes.
May I push it?
--
Pino Toscano
From e652274733eeba8a753623dc61bd781c35f93c93 Mon Sep 17 00:00:00 2001
From: Pino Toscano toscano.p
?
Thanks,
--
Pino Toscano
From 7c60857c44b0792a1a79ebd4fd07704c2a712609 Mon Sep 17 00:00:00 2001
From: Pino Toscano toscano.p...@tiscali.it
Date: Fri, 1 Mar 2013 15:48:37 +0100
Subject: [PATCH] rpctrace: implement -E
Add a -E option to rpctrace, much like its strace's equivalent, to add/change/unset
Alle venerdì 1 marzo 2013, Samuel Thibault ha scritto:
Pino Toscano, le Fri 01 Mar 2013 16:27:03 +0100, a écrit :
Side question: do we have git hooks to automatically close bugs and
tasks with commits?
I don't know.
Hm ok.
+ newval = *(equal + 1) != 0 ? equal + 1 : ;
Why
Update of bug #27184 (project hurd):
Status: Confirmed = Fixed
Assigned to:None = jkoenig
Open/Closed:Open = Closed
Update of bug #32755 (project hurd):
Category:None = Hurd Servers
Open/Closed:Open = Closed
___
Follow-up Comment #4:
As per Maksym's
1 - 100 of 126 matches
Mail list logo