Displaying 20 results from an estimated 600 matches similar to: "[patch] overcoming PATH_MAX - very long paths with rsync - integration of liblongpath"
1996 Nov 14
0
setgid binaries
Hi,
I''ve been thinking about group membership and the corresponding (weak)
restrictions to system resources. Consider the following:
% cat > gsh.c
main()
{
system("/bin/sh");
}
% cc -o gsh gsh.c
% id
uid=100(joe) gid=500(users) groups=14(floppy),15(sound)
% chgrp sound gsh
% chmod g+s gsh
% mail abuser
Subject: You owe me $5...
2008 Apr 04
2
Re: Use PATH_MAX for pathname char arrays.
Hello,
Using PATH_MAX is not a good idea: POSIX says that that definition
is facultative, in case the system does not impose any limit on path
length. Some systems may also set PATH_MAX to a quite high value, and
we would hence consume a lot of stack.
Samuel
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
2013 Jun 15
2
Patch for pigeonhole 0.4.0 avoiding PATH_MAX
Hi,
I recently downloaded and built dovecot-2.2.2 and
dovecot-2.2-pigeonhole-0.4.0 on GNU/Linux and GNU/Hurd. The changes
needed will be sent to the Debian maintainer shortly. Latest Debian
release is 2.1.7-7 and dovecot-2.1-pigeonhole-0.3.1. When building
dovecot-2.2.2 there were no PATH_MAX problems on GNU/Hurd, thank you for
that. However, pigeonhole 0.4.0 had one remaining PATH_MAX construct.
2007 May 14
1
`PATH_MAX' undeclared here (not in a function) in asterisk!
hello, asteriskers:
I compiled asterisk under arm-linux. i am using asterisk 1.4.2. i can run ./configure and menuselect with embedded modules. but running make comes out errors:
ranlib libmxml.a
make[3]: Leaving directory `/usr/src/asterisk-1.4.2/menuselect/mxml'
cc -Wall -o menuselect.o -g -c -D_GNU_SOURCE menuselect.c
cc -Wall -o menuselect_curses.o -g -c -D_GNU_SOURCE
2010 Mar 21
0
[PATCH] Mac OS X: For PATH_MAX, include <limits.h>
And another one ...
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
New in Fedora 11: Fedora Windows cross-compiler. Compile Windows
programs, test, and build Windows installers. Over 70 libraries supprt'd
http://fedoraproject.org/wiki/MinGW http://www.annexia.org/fedora_mingw
-------------- next part --------------
>From
2007 May 15
0
PATH_MAX' undeclared here (not in a function) in asterisk!
hello, James FitzGibbon:
thank you for your help. i am very new to arm-linux and embedded linux. i think what you said is right. i am not very sure the steps i taken are correct. i post it here and please give me some help. it might be help other arm-linux users too. i installed all necessary libraries in my linux. if i just install asterisk under my linux. there is no problem. but when i
2010 Mar 05
2
[PATCH] R ignores PATH_MAX and fails in long directories (PR#14228)
Full_Name: Murray Stokely
Version: 2.10.1
OS: Linux
Submission from: (NULL) (216.239.45.4)
The Defn.h header includes limits.h for PATH_MAX and then checks if it hasn't
been defined and if not sets something manually. Some of the R code uses
PATH_MAX but a lot of other functions in unix/sys-unix.c and main/startup.c just
hardcodes a limit of 256 characters.
In my environment this is not
2013 Aug 20
0
[PATCH] modernize configure.ac, update gnulib macros and add the havelib module, remove aclocal.m4
For the next patch which I am about to submit (liblongpath integration), I
thought I we should have the autoconf havelib macros from gnulib
(AC_LIB_HAVE_LINKFLAGS).
AC_LIB_HAVE_LINKFLAGS would also be useful to facilitate linking to other
external libraries (popt, zlib) where they are installed outside the default
search path.
To avoid a dependency on gnulib (which would, IIUC, require more
2007 Mar 16
0
HOWTO: Overcoming home directory''s dependency on owner element when disabling user accounts
Background info: https://reductivelabs.com/trac/puppet/ticket/549
Here''s how I''m working around the issue now...
case $ensure {
present: {
$home_owner = $name
$home_group = $name
}
default: {
$home_owner = "root"
$home_group =
2011 Apr 13
1
Overcoming warning in package zoo
Dear R users,I have a long program that I am trying to run--I am using RStudio as my interface with R. The pieces of the program run well individually but when I try to run everything in sequence it bogs down because of a warning after using rollmax from package zoo. Here is the warning:
"In rollmax.zoo(zoo(Pmat), 7, na.pad = FALSE, align = "right") : na.pad is deprecated. Use
2008 Aug 26
5
Problem w/ b95 + ZFS (version 11) - seeing fair number of errors on multiple machines
Hi,
After upgrading to b95 of OSOL/Indiana, and doing a ZFS upgrade to the newer
revision, all arrays I have using ZFS mirroring are displaying errors. This
started happening immediately after ZFS upgrades. Here is an example:
ormandj at neutron.corenode.com:~$ zpool status
pool: rpool
state: DEGRADED
status: One or more devices has experienced an unrecoverable error. An
attempt was
2009 Apr 19
11
CentOS DomU 2.6.18-128.1.6.el5 crashing on boot when xenpv_hvm drivers are loaded / snv_111 Xen 3.1 Dom0
Hi,
can anyone provide any pointers as to how to avoid this issue?
A CentOS 5.3 domU on snv_111 dom0 is crashing on bott unless I remove
/lib/modules/2.6.18-128.1.6.el5/kernel/drivers/xenpv_hvm
dom0:
haggis:~$ uname -a
SunOS haggis 5.11 snv_111 i86pc i386 i86xpv
Name: SUNWxvm
Summary: Hypervisor Header Files
Category: System/Virtualization
State: Installed
2001 Feb 12
1
openssh bugs in snapshot for nextstep (fwd)
I was sent this from Mark Miller. Should we be using MAXPATHLEN
instead of PATH_MAX in the upstream tree? Not all systems define
PATH_MAX.
- Ben
--- sftp-int.c.orig Sat Feb 10 13:56:08 2001
+++ sftp-int.c Sun Feb 11 23:33:26 2001
@@ -435,5 +435,5 @@
unsigned long n_arg;
Attrib a, *aa;
- char path_buf[PATH_MAX];
+ char path_buf[MAXPATHLEN];
path1 =
2010 Jun 26
0
[MODULE] pwd
From: Gene Cumm <gene.cumm at gmail.com>
[MODULE] pwd to list present (current) working directory. If the
returned string is empty, display ".". If the return value is NULL,
display an error message.
Signed-off-by: Gene Cumm <gene.cumm at gmail.com>
Unfortunately, it appears that COM32 getcwd is not working properly at
this moment, it calling the COMBOOT call and getting
2005 Jan 06
0
skip unconnected interfaces
This patch makes it so that ipconfig only configures devices that are
connected:
--- klibc-0.194/ipconfig/main.c.orig 2005-01-06 15:20:24.749525888 -0700
+++ klibc-0.194/ipconfig/main.c 2005-01-06 15:24:48.038499880 -0700
@@ -27,6 +27,7 @@
static char do_not_config;
static unsigned int default_caps = CAP_DHCP | CAP_BOOTP | CAP_RARP;
static int loop_timeout = -1;
+static int only_connected = 0;
2013 Apr 11
2
[PATCH 1/2] btrfs-progs: replace blkid_probe_get_wholedisk_devno
blkid_probe_get_wholedisk_devno() isn''t available in some older
versions of libblkid. It was used to work around an old
bug in blkid_devno_to_wholedisk(), but that has been fixed since
5cd0823 libblkid: fix blkid_devno_to_wholedisk(), present in
util-linux 2.17 and beyond.
If we happen to be missing that fix, the worst that happens is
that we''d fail to detect that a device is
2014 Sep 23
1
Re: [PATCH 09/13] syntax-check: fix prohibit_path_max_allocation check
On Tuesday 23 September 2014 17:20:35 Hu Tao wrote:
> Signed-off-by: Hu Tao <hutao@cn.fujitsu.com>
> ---
> daemon/inotify.c | 12 +++++++++++-
> 1 file changed, 11 insertions(+), 1 deletion(-)
While I'd personally get rid of PATH_MAX at all, I understand the Linux
inotify implementation relies on it...
>
> diff --git a/daemon/inotify.c b/daemon/inotify.c
> index
2014 Sep 27
2
[PATCH 1/2] Implement realpath()
This is needed as the basis for the readlink -f option.
Signed-off-by: Ben Hutchings <ben at decadent.org.uk>
---
--- a/usr/include/stdlib.h
+++ b/usr/include/stdlib.h
@@ -92,4 +92,6 @@ static __inline__ int grantpt(int __fd)
return 0; /* devpts does this all for us! */
}
+__extern char *realpath(const char *, char *);
+
#endif /* _STDLIB_H */
--- a/usr/klibc/Kbuild
+++
2008 Dec 10
3
[ANNOUNCE] Samba 3.2.6 Available for Download
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
===============================================================
"Myths are public dreams,
dreams are private myths."
Joseph Campbell
===============================================================
Release Announcements
=====================
This is a bug fix release of the Samba 3.2 series.
Major enhancements
2008 Dec 10
3
[ANNOUNCE] Samba 3.2.6 Available for Download
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
===============================================================
"Myths are public dreams,
dreams are private myths."
Joseph Campbell
===============================================================
Release Announcements
=====================
This is a bug fix release of the Samba 3.2 series.
Major enhancements