Re: setuid scripts wrapper (RFC, proposal)

2006-04-06 Thread lists
You should be able to get around this by opening the script first, using fstatfs() and fstat() and passing the script as /dev/fd/N to the interpreter. Great idea. Thank you very much. What I was actually referring to was your use of argv[1], argv[2], argv[3] and argv[4] without checking

Re: mtime and directories...

2003-11-19 Thread lists
Thanks, Ari. This helps. I forgot to ask if this is documented anywhere. Kernel code is fine as long as I know where to look. Thanks, again. Alex On Tuesday, November 18, 2003, at 09:28 PM, ari wrote: [EMAIL PROTECTED] said this stuff: Changing a file, of course, results in a change to its

mtime and directories...

2003-11-18 Thread lists
Changing a file, of course, results in a change to its modification time. Am I correct in determining that the mtime of the enclosing directory is also updated? The reason I'm asking this is because I need to be able to determine if any file has changed within a directory from a shell script,

Welcome to the freebsd-lists-for-dayan-only group

2001-08-07 Thread freebsd-lists-for-dayan-only Moderator
Hello, I've added you to my freebsd-lists-for-dayan-only group at eGroups, a free, easy-to-use email group service. As a member of this group, you may send messages to the entire group using just one email address: [EMAIL PROTECTED] eGroups also makes it easy to store photos and files

Re: NewCard / pccbb

2001-08-05 Thread lists
Hi Mike, I tried your suggestion below, and for some reason its still assigning the same interrupt (whichever one I pick) to both the network card and the wavelan card, and interstingly enough even if I remove one of them, its still trying to get a routeable interrupt and the wavelan still

Re: NewCard / pccbb

2001-08-04 Thread lists
Hi Mike, ok my pci-pcmcia bridge is in slot 0, my network card is in slot 3, below are the dmesg outputs from both oldcard and newcard, Thanks Andrew Newcard dmesg: Copyright (c) 1992-2001 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994

NewCard / pccbb

2001-08-03 Thread lists
Hi All, Im hoping someone can help me in clarifying some issues, Im attempting to find the problem with my orinoco wavelan card. Currently I have the card plugged into a pci - pcmcia bridge. As mentioned in a previous email, the card detects fine, (both under oldcard and newcard), I can use

Re: Wierd IRQ Routing issues

2001-08-03 Thread lists
Both boxes are -current :) Thanks Andrew On Thu, 2 Aug 2001, Peter Pentchev wrote: On Thu, Aug 02, 2001 at 10:01:25PM +0200, lists wrote: Hi, hoping someone can help me out with something here, because Ive got a very strange problem. On my one pc, when assigning an IRQ to my PCIC

Re: Wierd IRQ Routing issues

2001-08-03 Thread lists
, not sure why that is Andrew On Fri, 3 Aug 2001, Warner Losh wrote: In message [EMAIL PROTECTED] lists writes: : However, on my other pc with an identical setup, when trying to assign : pcic irq it does this: (from dmesg): How identical? Is the BIOS the same? : pci_cfgintr_search: linked (3

Re: Wierd IRQ Routing issues

2001-08-03 Thread lists
One machine (the working one) is set to pnp os, my machine doesnt have an option to set it in the bios (the machine that doesnt work) Cheers Andrew On Fri, 3 Aug 2001, Warner Losh wrote: In message [EMAIL PROTECTED] lists writes: : Yeah thats the wi0 timeout machine, the other machine

wi0 problems?

2001-08-02 Thread lists
Hi, hoping someone can help me out here. With the changes to FreeBSD 5-CURRENT to support pci-pcmcia bridges, does anyone know if there is still a problem with the wi0 (wavelan) pcmcia cards on one of those bridges? The machine picks up the card fine, assigns it an IRQ the whole trip, wicontrol

ISA_PNP_PROBE

2001-04-25 Thread Lists Account
Hi All Just wondered, is there an equivelant function to ISA_PNP_PROBE that works with PCI (for example PCI_PNP_PROBE), anyone know? Thanks Andrew To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message

Re: PCI - PCMCIA Bridge Adapter

2001-04-24 Thread Lists Account
of bugs mentioned on the list so far or is this for another reason? Thanks Andrew On Mon, 23 Apr 2001, Warner Losh wrote: In message [EMAIL PROTECTED] Lists Account writes: : I just was wondering if anyone out there knew of any drivers that support : the pccard PCI - PCMCIA bridge adapter, also

No route to host problems on 5.0-CURRENT

2001-04-24 Thread Lists Account
Hi All, Just hoping someone can help me out with a bit of a problem, I cvsupped one of my boxes from 4.3-RELEASE to 5.0-CURRENT last night in an effort to test some things under 5.0, and since then even with a straight GENERIC kernel build my machine gives me a no route to host error trying to

PCI - PCMCIA Bridge Adapter

2001-04-23 Thread Lists Account
Hi All, I just was wondering if anyone out there knew of any drivers that support the pccard PCI - PCMCIA bridge adapter, also made by pccard (see www.pccard.co.uk), similar to the ISA - PCMICIA bridge adapter that is currently supported under FreeBSD If anyone knows of such a driver please let

gcc -pthread / segfault problem

2001-03-02 Thread Lists Account
Hi all, I was coding some stuff under a 4.2 box of mine here earlier today and I seem to have hit a very strange bug, I was wondering if anyone could help me out here. I wrote a bunch of pthread enabled code, when I tried to run the program, after I compiled it with -pthread (I had to with the

Re: Jail Pseudo Terminals

2001-02-13 Thread Lists Account
this fixed my problem, or perhaps let me know if there is a problem with getttyent() under jail it would be much appreciated. Thanks Andrew Alston On Tue, 13 Feb 2001, Neil Blakey-Milner wrote: On Tue 2001-02-13 (07:09), Lists Account wrote: Ok this is getting a bit strange. Interestingly enough

Jail Pseudo Terminals

2001-02-12 Thread Lists Account
Hi All, Just a quick question Im hoping someone can help me with. I extended the number of pty's available on my base box just fine, with an edit to /etc/ttys and making some new devices, then just a kill -1 1, and everything worked fine. I did exactly the same thing under the jail, it didnt

Re: Jail Pseudo Terminals

2001-02-12 Thread Lists Account
tells me there are no ttys available? Any ideas? Andrew On Mon, 12 Feb 2001, Robert Watson wrote: On Mon, 12 Feb 2001, Lists Account wrote: Just a quick question Im hoping someone can help me with. I extended the number of pty's available on my base box just fine, with an edit to /etc

NOS-TUN / Natd

2000-12-14 Thread Lists Account
Hi All, Just a quick question out of interests sake, I was setting up nos-tunnels yesterday, and I had the tunnel functioning 100% perfectly, however I could not get it to NAT the remote side of the tunnel, until I put an ipfw divert 8668 ip from any to any via any statement in my firewall

AMI MegaRaid Controller

2000-12-12 Thread Lists Account
Hi All, Perhaps one of you can help me out here, I have an AMI Megaraid controller, which my FreeBSD 4 machine picks up fine, I can see the controller no problem, I however CANNOT see scbus0 or any form of the scsi bus which will allow me to run stand alone non-raid devices on the raid scsi

Re: Packet Header Filtering

2000-12-08 Thread Lists Account
Look at IPF/IPFW they both have state table stuff in them, and analyzing the ip header is done by both as well. I would suggest you hack ipf to do what you want if it doesnt do it already. Cheers Andrew On Fri, 8 Dec 2000, Alwyn Goodloe wrote: We are about to begin a little project that

Re: Frustration with SCSI system

2000-09-22 Thread jdb-lists-freebsd-hackers
Ideally, I would use one of the IDE flash-based drives on the market. One brand is SanDisk, and they take a standard IDE connector and fit into a 3.5" drive bay. You can get them very reasonably priced up to 128MB or so, which is just fine for a boot partition. Since flash drives have no

Kernel compile problem?

2000-09-05 Thread Lists Account
Hi all, Just wondered if anyone could help me out here, Im trying to cvsup from 4.0-RELEASE to 4.1-STABLE and on a make depend on my kernel I get the following: === agp make: don't know how to make agp_if.c. Stop *** Error code 2 Stop in /usr/src/sys/modules. *** Error code 1 Anyone else

IBM ServerRaid

2000-08-22 Thread Lists Account
Hi All, does anyone know if there are any IBM Server raid drivers for FreeBSD out there? If So can anyone tell me where I can get one Thanks Andrew To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Jails

2000-06-21 Thread lists
Hi, Does anyone out there know of any patches available to let me assign more than one ip to a jail. While on the subject of jails, just out of curiosity, is there any reason that I cant ping out of a jail even when Im root on the jail (it says operation not permitted?) Any help would be

Fastforwarding

2000-06-12 Thread lists
Hi All, I posted this a coupla days ago and just thought I would ask again in the hope that someone had encounted something since then. Has anyone here tried setting net.inet.ip.fastforwarding on in a high traffic enviroment? This setting DRASTICALLY speeds up transfers between boxes talking

Re: Fastforwarding

2000-06-12 Thread lists
Another coupla hundred kilobytes per second? Andrew On Mon, 12 Jun 2000, Luigi Rizzo wrote: Hi All, I posted this a coupla days ago and just thought I would ask again in the hope that someone had encounted something since then. Has anyone here tried setting

Re: Fastforwarding

2000-06-12 Thread lists
Another couple of 100k/sec per connection. When I was running as follows: 10mbit network - pix - freebsd gateway - internal network (100mbit) with 100mbit ethernet on the fbsd gateway, 10mbit up to the gateway (there are routers inbetween the pix and the gateway), and 100mbit on the internal

Re: Fastforwarding

2000-06-12 Thread lists
I will take a look and see if I can get a panic message later on, unfortunatly the one box that I have running forwarding is a highly important system that I cant afford downtime on, and most of the time when it panics Im working on it remotely, but it definatly panics and the box reboots. I

Fast Forwarding?

2000-06-07 Thread lists
Hi, Just wondering if anyone else has had problems with net.inet.ip.fastforwarding set? It seems that if I do sysctl -w net.inet.ip.fastforwarding=1 after a few minutes on 4.0-STABLE and 4.0-RELEASE the box kernel panics and dies horribly. Any suggestions would be much appreciated Thanks

40gig IDE drives?

2000-06-02 Thread lists
Anyone know how to get a 40gig IDE drive working under FreeBSD? It picks it up as having 79000 odd sectors and says that the geometary is wrong, and it doesnt work. Any advice would be appreciated Thanks Andrew To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe

IPFW / IP Filter question

2000-02-03 Thread lists
A quick question, is it possible to copy all traffic coming into a particular interface to a divert socket, while still having the traffic also running normally and taking normal routes etc. I would have thought you would use the tee option in ipfw for this, but its not implemented yet according

Pthreads

2000-01-13 Thread lists
Quick question, Does anyone on here know what the equivelant macro for PTHREAD_RECURSIVE_MUTEX_INITALIZER_NP is under freebsd? I cant find anything like this in pthread.h, and Im wondering without it what do I use to initialize a recursive mutex. Any advice would be appreciated Many thanks

Raw Packet code containing security bits

1999-08-16 Thread FreeBSD mailing lists
I wonder if anyone here could perhaps of be assistance, Im currently playing with implementing certain things in trusted bsd to do with ip security classes and how the system responds to security bits, and implementing certain things the stack etc. However my first piece of test code playing with

fetchGetURL() (fwd)

1999-08-09 Thread Mailing Lists
I can't seem to get libfetch to properly link in. I've tinkered with the order to no avail don't see what I'm missing. cc -O2 -pipe -g -o importquotes importquotes.o -L/usr/local/lib/mysql -lmysqlclient -lfetch -lcom_err -lstdc++ importquotes.o: In function `main':

cant compile with cpufunc.h, barfs.

1999-06-02 Thread Josh2 Lists
this working under 3.1 as it did under 2.2.5 TIA Josh -- E-Mail: Josh2 Lists jo...@marvin.albury.net.au Date: 02-Jun-99 Time: 16:15:19 This message was sent by XFMail -- To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe

RE: 3.1 cc -aout - No go? AGAIN after make world

1999-05-12 Thread Josh2 Lists
in /usr/lib/aout. --- John Baldwin jobal...@vt.edu -- http://members.freedomnet.com/~jbaldwin/ PGP Key: http://members.freedomnet.com/~jbaldwin/pgpkey.asc Power Users Use the Power to Serve! - http://www.freebsd.org -- E-Mail: Josh2 Lists jo

RE: 3.1 cc -aout - No go? AGAIN after make world

1999-05-11 Thread Josh2 Lists
it be possible to include this stuff in compat22 or some other compat patckage? (compataout?) On 11-May-99 Josh2 Lists wrote: Hi. Should this work on 3.1-release (new install)? cc -aout an.c -o an And if so why do I get this when I have installed the 2.2 compat stuff from the distributions