Re: Linking with -shared and -pthread...

2003-08-31 Thread Joshua Oreman
On Sun, Aug 31, 2003 at 08:13:03PM +0100 or thereabouts, Peter Wood wrote: > Good Evening, > > I've been looking at writing a program that uses both shared libraries > (dlopen/dlclose) and POSIX threads. I however haven't had any success in my > simple tests. > > After doing some research via goo

Re: Dumping a core from inside of process

2003-08-21 Thread Joshua Oreman
On Thu, Aug 21, 2003 at 10:12:49PM + or thereabouts, Artem 'Zazoobr' Ignatjev wrote: > At Thu, 21.08.2003, 22:02, Alexander Kabaev wrote: > > Look for abort() or SIGABRT. > Thanks so far for you and Lev.. Is there the way to specify struct > sigcontext to it? I still wish to have `correct' reg

Re: [future patch] dropping user privileges on demand

2003-08-21 Thread Joshua Oreman
On Thu, Aug 21, 2003 at 12:39:00AM -0700 or thereabouts, Kris Kennaway wrote: > On Thu, Aug 21, 2003 at 01:58:54AM -0500, Dan Nelson wrote: > > > It does something similar, but uses a C-like language to control a > > processes actions. This lets you get extremely fine-grained control > > (allow h

Fwd: Re: Debugging symbols with nasm

2003-08-16 Thread Joshua Oreman
[Sorry, accidentally cc:ed -questions@ instead of [EMAIL PROTECTED] On Sat, Aug 16, 2003 at 09:14:30AM +0300 or thereabouts, Vladimir Ciobanu wrote: > I'm not sure whether this is the best list to post to, but it's my > first guess. I'm using nasm to compile some code I wrote. The > developer-

Re: file size different from ls to du

2003-07-29 Thread Joshua Oreman
On Tue, Jul 29, 2003 at 05:27:14PM +0200 or thereabouts, Bogdan TARU wrote: > > Hi Drew, > > I have tried to create some files of myself, with 'spaces' in them > (holes?), but they don't act like this. So could you please explain what > 'sparse' means, and the 'trick' to create them? Basi

Re: USB mouse/keyboard causes kernel panic during boot sequence(from -questions)

2003-07-12 Thread Joshua Oreman
On Sat, Jul 12, 2003 at 01:37:23PM -0400 or thereabouts, Michael E. Mercer wrote: > Josh, > > Are you looking into my problem or someone else? > Also, How? by looking at the trace provided, you do find out > where exactly it failed at? I was sort of hoping to drag a more experienced kernel hacke

Re: getpwnam + getpwnam_r + LinuxThreads port = deadlock

2003-07-12 Thread Joshua Oreman
On Sat, Jul 12, 2003 at 10:47:50AM -0400 or thereabouts, Daniel Eischen wrote: > On Fri, 11 Jul 2003, Joshua Oreman wrote: > > > Hi -hackers, > > > > System: FreeBSD 5.0-CURRENT cvsupped around 5.0-RELEASE > > > > I'm writing an app that links wi

getpwnam + getpwnam_r + LinuxThreads port = deadlock

2003-07-11 Thread Joshua Oreman
Hi -hackers, System: FreeBSD 5.0-CURRENT cvsupped around 5.0-RELEASE I'm writing an app that links with the LinuxThreads (/usr/ports/devel/linuxthreads) and also uses getpwnam(). The problem: a deadlock. GDB backtrace: (gdb) bt #0 0x28140053 in sigsuspend () from /usr/lib/libc.so.5 #1 0x280904

Re: Mirroring using vinum+NFS

2003-07-10 Thread Joshua Oreman
On Fri, Jul 11, 2003 at 06:10:13AM +1000 or thereabouts, Peter Jeremy wrote: > I'm looking at building a fileserver and want to mirror the data > across two systems (if one fails, I can use the other). > > Consider system A as the server and system B as the mirror. In theory, > on system A I shou

Re: recovering data from a truncated vn-file possible?

2003-07-06 Thread Joshua Oreman
On Sun, Jul 06, 2003 at 09:06:23AM -0700 or thereabouts, Terry Lambert wrote: > Josh Brooks wrote: > > Long story short, I have a 4gig vn-backed filesystem. The file backing it > > is now missing the last 750megs ... I can vnconfig it, but when I fsck it > > I see: > > Probably the first thing yo

Re: current state of the art / best practice for devfs in a jail ?

2003-07-03 Thread Joshua Oreman
On Thu, Jul 03, 2003 at 04:00:46AM -0700 or thereabouts, Josh Brooks wrote: > > I have been researching the various of ways people add devfs to a jail to > give the jail certian /dev devices necessary to function ... Well, all I did was test your research :-) > > One strategy I saw was: > > mo

Re: TODO list?

2003-06-28 Thread Joshua Oreman
On Sat, Jun 28, 2003 at 06:52:36PM -0500 or thereabouts, [EMAIL PROTECTED] wrote: > Quoting Terry Lambert <[EMAIL PROTECTED]>: > > > Give him a commit bit, and he can quickly grind through all the > > PR's that already have diff's attached to them, and have just sat > > there forever. > > I have

TODO list?

2003-06-27 Thread Joshua Oreman
Hi -hackers, I currently have a lot of free time and I was wondering whether there was a TODO list of some sort for bugs that need fixing in FreeBSD. I really want to help the project, and I think such a list would make it much easier to do so. If there's no official TODO list, could someone point

Re: setting up max ptys under 5.x

2003-06-27 Thread Joshua Oreman
On Fri, Jun 27, 2003 at 12:29:41PM -0700 or thereabouts, Josh Brooks wrote: > > > On Fri, 27 Jun 2003, Joshua Oreman wrote: > > > > maxusers to 512 ... any new toggles I should know of to be able to use max > > > ptys on the system, or can I just follow

Re: setting up max ptys under 5.x

2003-06-27 Thread Joshua Oreman
On Fri, Jun 27, 2003 at 03:20:05AM -0700 or thereabouts, Josh Brooks wrote: > > For various reasons, in 4.x, I have been creating all possible pty /dev > nodes ... > > # pwd > /dev > # ls *pty* | wc -l > 256 > > > So far so good...now I am wondering how to do this in 5.x, what with the > d

Re: kqueue alternative?

2003-06-16 Thread Joshua Oreman
On Mon, Jun 16, 2003 at 11:44:15AM +0100 or thereabouts, Tony Finch seemed to write: > Joshua Oreman <[EMAIL PROTECTED]> wrote: > >On Sun, 15 Jun 2003, Matthew Hagerty wrote: > >> > >> I'm writing a little application that needs to watch a file that another &

Re: kqueue alternative?

2003-06-15 Thread Joshua Oreman
On Sun, Jun 15, 2003 at 09:50:24PM -0400 or thereabouts, Matthew Hagerty seemed to write: > > Joshua Oreman wrote: > >> On Sun, 15 Jun 2003, Matthew Hagerty wrote: > >> > >>>I'm writing a little application that needs to watch a file that another &

Re: your mail

2003-06-15 Thread Joshua Oreman
On Sun, Jun 15, 2003 at 08:12:47PM -0400 or thereabouts, Derek Santamassino seemed to write: > Hi, I need some help with FreeBSD 4.8 Release. I installed > FreeBSD. It does not recognize my hardware. After the installation > it goes right to command prompt instead of going to desktop. My > hardwar

Re: kqueue alternative?

2003-06-15 Thread Joshua Oreman
On Sun, 15 Jun 2003, Matthew Hagerty wrote: > I'm writing a little application that needs to watch a file that another > process is writing to, think 'tail -F'. kqueue and kevent are going to > do it for me on *BSD, but I'm also trying to support *cough* linux and > other UN*X types OSes. > > >F

Re: ramdisk??

2003-06-09 Thread Joshua Oreman
On Mon, Jun 09, 2003 at 11:04:52AM -0700 or thereabouts, Ted Faber seemed to write: > On Mon, Jun 09, 2003 at 01:16:26PM -0400, [EMAIL PROTECTED] wrote: > > (sorry about cross-posting this question. not sure which list is better) > > > > I want to to know how to create a ram file system for /var a