syscall list

2005-01-31 Thread H. S.
Hi, I don't remember how to extract the syscall list from the kernel. There was an article some time ago about this, and checking the syscall address to make sure it was not changed in the kernel. Could anyone point me to this article? I've tried to google around but didn't find it. Best Regards

Re: Idea about 'skeleton jail' -- desirable jail features

2005-02-01 Thread H. S.
In my opinion, FreeBSD is currently behind in virtual server implementations for a few reasons; It does not support multiple IPs in jails. Sure, there are patches, but the one here doesn't compile on 5.3-STABLE, for example. Support integrated into the base system would be neat. It would also be n

basic programming questions

2005-03-10 Thread H. S.
Hey, Sorry if this is a little offtopic, but I need some basic help with C. I'm not a programmer, but I need to get something done in C for a project. I need to do a console application, and as I've got some free time, I'd like to add bold sentences and characters with other colors (ie blue, red,

RE: basic programming questions

2005-03-10 Thread H. S.
D] > Sent: Thursday, March 10, 2005 9:59 AM > To: H. S. > Cc: freebsd-hackers@freebsd.org > Subject: Re: basic programming questions > > > On Thu, 10 Mar 2005, H. S. wrote: > >> Hey, >> >> Sorry if this is a little offtopic, but I need some basic help

Re: basic programming questions

2005-03-11 Thread H. S.
it's not working. I've also tried getchar() but it didn't work either (or I did it in a wrong way).. I'm missing something obvious here! What should I do to correct this? And is my buffer-not-empty-so-scanf-gets-a-waiting-character theory correct ? Your curses program and the l

IP packets from host system showing inside a jail?

2005-03-12 Thread H. S.
Hey, I've noticed something odd.. I'm using FreeBSD 5.3-STABLE with PF, on a dual xeon 2.4 system. I have two jails running for web and mail servers. Today I was testing something and needed a tcpdump, so inside a jail I started tcpdump as root. To my amazement, IP packets from the host system (I

passwd & permissions

2005-03-20 Thread H. S.
Hey, I'm using FreeBSD on various servers for many time now, and there is something that always bothered me. It is related to /etc/passwd and /etc/pwd.db permissions. I have custom (0640) permissions on these files. However, each time a user changes his/her password, the system will reset the pas

Re: passwd & permissions

2005-03-20 Thread H. S.
ve said in my previous mail, changing the mtree/ files to reflect my desired permissions sounded logical, but either I failed some step or it isn't the way to go. > On Sun, Mar 20, 2005 at 01:26:57PM -0600, H. S. wrote: >> I'm using FreeBSD on various servers for many time now, a

Re: passwd & permissions

2005-03-23 Thread H. S.
> On Sun, Mar 20, 2005 at 01:26:57PM -0600, H. S. typed: >> Hey, >> >> I'm using FreeBSD on various servers for many time now, and there is >> something that always bothered me. It is related to /etc/passwd and >> /etc/pwd.db permissions. >> >&g

A few thoughts..

2005-03-29 Thread H. S.
Hey all, I've been using FreeBSD for a long time, it's my favorite OS and I use it on all my servers and most workstations. However, due to the nature of some of the servers, I've always wondered about something, tho. It is related to something deep in the OS. Let me try to explain. For example,

Re: A few thoughts..

2005-03-29 Thread H. S.
> On Tue, 29 Mar 2005 13:19:06 -0600 (CST) > "H. S." <[EMAIL PROTECTED]> wrote: > > >> [EMAIL PROTECTED]:/home/USERNAME]$ ./dmesg >> Copyright (c) 1992-2004 The FreeBSD Project. >> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993,

Re: A few thoughts..

2005-03-29 Thread H. S.
> On Tue, Mar 29, 2005 at 03:12:25PM -0600, H. S. wrote: >> This could be compared to what was done in FreeBSD lately, I remember in >> 4.7 (and probably later, up to 4.10 I think) a user could see the full >> connection lists (even connections from other u

Re: A few thoughts..

2005-03-30 Thread H. S.
iece(s) of code that dmesg (talking dmesg here, but I'll try to change some other stuff too) ultimately goes to, how would I compare the sysctl kern.disclosure.no_dmesg to 1 or 0 ? A good paper on this would be a very nice lead. Thanks! > >> -BEGIN PGP SIGNED MESSAGE- >>

Re: A few thoughts..

2005-03-30 Thread H. S.
> On Wed, 2005-Mar-30 11:06:53 -0600, H. S. wrote: >>As I stated previously, I'm not much of a C programmer, but I can do some >>coding. I've been thinking into changing the core of the system a bit to >>return errors if some information is accessed by a normal user

Re: A few thoughts..

2005-03-31 Thread H. S.
> On Tue, 29 Mar 2005, H. S. wrote: > >> My "USERNAME" account doesn't have access to /sbin/dmesg, but I uploaded >> a /sbin/dmesg from a 5.2.1-RELEASE to a 5.3-STABLE box, and then I could >> have access to this system information. The same goes for systat ,

imminent disk failure ?

2005-04-14 Thread H. S.
Hi gang, I have a server running 4.X for almost two years now, without problems - rock solid as it should be - yesterday the server became unresponsive, now that I have access again, and while checking the logs, I found this as the last message before the unresponsiveness: /kernel: ad0: READ comm