Introduction
Hello everybody, My name is David Forsythe and I'll be working on allowing parallel builds in the ports collection for Summer of Code this year. I'm a second year student at the University of Maryland, College Park studying computer science. I'm extremely excited to work on this project over the summer and I hope my work is beneficial to the FreeBSD community. I was already planning on devoting a bunch of my free time this summer to working on this type of thing, so an @freebsd.org alias, a t-shirt, and a bit of cash are just icing on the cake (no seriously, getting a FreeBSD mail alias excited me so much I'm a little bit embarrassed...) I hope that my project turns out well and I can continue to work with the FreeBSD development community far into the future. Working with you guys is really a dream come true! Dave ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Introduction
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, Apr 25, 2008 at 06:47:08AM +0900, Johannes Maximilian K wrote: > Hello everyone, > > I'm one of the GSoC students. My name is Johannes Maximilian Kuehn and > my project is the reference implementation of the SNTP protocol. > > I was exposed to FreeBSD about 6 years ago and I'm using it since > then as my primary operating system. Similar to Anders I started with > Linux and then got introduced to FreeBSD by a good friend. After that I > found my favorite operating system and wanted to get involved with it, > too. I think GSoC is a great opportunity to do that! :) > > I'm a first year student studying computer science and Japanese Studies > at the "Eberhard Karls Universität Tübingen" (Eberhard Karls university > in Tuebingen, Germany). > > I'm happy to be aboard! Welcome and Good Luck! > > > Max > > ___ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > - -- +---+---+ | PGP: 0x05682353 | Jabber : miwi(at)BSDCrew.de | | ICQ: 169139903 | Mail : miwi(at)FreeBSD.org | +---+---+ | Mess with the Best, Die like the Rest! | +---+---+ -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFIERc1FwpycAVoI1MRAgqXAKCOwX3ZtKOJBoanOHUDVUGwOLJ+qgCgikuw uLcEt8acYvKCQUpJQ3kMyiQ= =Vgbt -END PGP SIGNATURE- ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Introduction
Hello everyone! I'm one of the GSoC students. My name is Johannes Maximilian Kuehn and my project is the reference implementation of the SNTP protocol. I was exposed to FreeBSD about 6 years ago and I'm using it since then as my primary operating system. Similar to Anders I started with Linux and then got introduced to FreeBSD by a good friend. After that I found my favorite operating system and wanted to get involved with it, too. I think GSoC is a great opportunity to do that! :) I'm a first year student studying computer science and Japanese Studies at the "Eberhard Karls Universität Tübingen" (Eberhard Karls university in Tuebingen, Germany). I'm happy to be aboard! Max ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Introduction
Hello everyone, I'm one of the GSoC students. My name is Johannes Maximilian Kuehn and my project is the reference implementation of the SNTP protocol. I was exposed to FreeBSD about 6 years ago and I'm using it since then as my primary operating system. Similar to Anders I started with Linux and then got introduced to FreeBSD by a good friend. After that I found my favorite operating system and wanted to get involved with it, too. I think GSoC is a great opportunity to do that! :) I'm a first year student studying computer science and Japanese Studies at the "Eberhard Karls Universität Tübingen" (Eberhard Karls university in Tuebingen, Germany). I'm happy to be aboard! Max ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: devctl (alike?) for devfs
I decided to do it in devfs_devs.c because there are less entry points there and the code is much simpler (you know: aliases, clones). I also had to add !cold condition, because apparently we have devices created so early in the boot, that devctl is not ready to handle a notification. My system hanged after only getting to the following line in verbose boot: ULE: setup cpu 0 However it is possible that it did something wrong - at that time I had devctl calls in kern_conf. I guess this also should be OK from the user perspective because they would be interested in device events after a system is booted and devd is running. Here is a log of devd started with -dD flags in single-user mode, then I attached and later detached an external hdd: http://www.icyb.net.ua/~avg/devd.log.gz Search for DEVFS for interesting lines. -- Andriy Gapon diff --git a/sys/fs/devfs/devfs_devs.c b/sys/fs/devfs/devfs_devs.c index ca5c2de..3556799 100644 --- a/sys/fs/devfs/devfs_devs.c +++ b/sys/fs/devfs/devfs_devs.c @@ -33,6 +33,7 @@ #include #include #include +#include #include #include #include @@ -518,6 +519,9 @@ devfs_create(struct cdev *dev) dev_refl(dev); TAILQ_INSERT_TAIL(&cdevp_list, cdp, cdp_list); devfs_generation++; + + if (!cold) + devctl_notify("DEVFS", dev->si_name, "ATTACH", NULL); } void @@ -529,6 +533,9 @@ devfs_destroy(struct cdev *dev) cdp = dev->si_priv; cdp->cdp_flags &= ~CDP_ACTIVE; devfs_generation++; + + if (!cold) + devctl_notify("DEVFS", dev->si_name, "DETACH", NULL); } static void ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Saving entire console sessions
On Thu, Apr 24, 2008 at 5:57 PM, Sanjeev Kumar.S <[EMAIL PROTECTED]> wrote: > Hi, >Is there any way to save entire console >sessions ? >Screen asks me to copy and paste what >I want. I don't want to do that I need to save > entire sessions. like a start till I do a exit or > quit the application. Is there a utility like >that ? > Did you try enabling logging for a screen window ? `screen -L` may be of help. Best regards, Pranav -- Blessed are the pessimists, for they take backups!! ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"
My GSoC Intro...
Hello everybody!!! My name is Przemek Witaszczyk and I am one of those very happy FreeBSD GSoCers of 2008:) I am 25 years old and I come from Polad. Currently I'm working on my PhD in the field of theoretical physics (AdS/CFT correspondence, one nifty thing that came out from the superstrings theory...). MSc also in theory, two years ago at Jagiellonian University, Krakow... My story of open source operating systems began in high school, when I met Linux and was persuaded by the fact that you can never stop configuring them:>. Since then I've checked out several OSes such like Solaris, Tru64 and even Plan9, but no doubt FreeBSD was the one I'd liked the most. So here I am. Partially by an accident I began working with embedded systems developer, Rafal Jaworowski (and his UltraTeam:>), who asked me if I'd liked to take a try in GSoC. So eventually we did it and now with him as my Mentor I'm going to port FreeBSD to Efika - a PPC based system on a chip eval board. What I expect the most is learning as much as possible about the unix kernel and getting to know with as many fbsd developers as possible. And - to succeed, of course.. Greets! Przemek Witaszczyk ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"
MK_SSP used for both libssp and -fstack-protector
Hi all, Another problem I have is that MK_SSP is used for both libssp and -fstack-protector. This could be a problem. I think moving libssp under MK_GNU_SUPPORT would make sense, but this would break backward compatibility WRT RELENG_7. What to do about this? FYI, libssp is not used at all currently since the few symbols required by SSP are provided in libc. The only use I can figure is when you want to link a program without libc while still protecting it with SSP. Thank you for your help. Regards, -- Jeremie Le Hen < jeremie at le-hen dot org >< ttz at chchile dot org > ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Using special CFLAGS for a single file without writing the rule
Hi Ruslan, hi all, I don't know if you followed the thread on -arch@, but the outcome is basically that SSP should be disabled for a couple of files: lib/csu/* gnu/lib/csu/* (reported by antoine@, but I couldn't verify this one) lib/libc/sys/stack_protector.c sys/kern/stack_protector.c Antoine Brodin supplied a patch for the kernel part: +kern/stack_protector.c standard\ + compile-with"${NORMAL_C:N-fstack-protector*}" As for lib/csu/*, this is straightforward, I just have to set WITHOUT_SSP in the Makefile. The hardest one is lib/libc/sys/stack_protector.c. I endeavored to find a way to compile a single file with ${CFLAGS:N-fstack-protector*}, but I found no recipe but writing the whole rule for this file. I would really like to avoid this solution so as to not override bsd.lib.mk settings. Considering your big experience with the build infrastructure, I suspect you would have a solution. Thank you for your help. Regards, -- Jeremie Le Hen < jeremie at le-hen dot org >< ttz at chchile dot org > ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Introducing me!!
Julian Elischer <[EMAIL PROTECTED]> wrote: > > My name is Ryan French. I am a Google Summer of Code participant this > year, and for my project I will be implementing MPLS in FreeBSD. FWIW, OpenBSD has just started on this: Import MPLS (Multi Protocol Label Switching) MPLS support partly based on the (abandoned?) AYAME project. > There has been a noted shortage in "kuwus" in freebsd.. for some reason. ^ Bed choice of word to dimonstrate the Kiwi accint, I thunk. "Kiwi" us pronounced wuth long e, not short i. :-) -- Christian "naddy" Weisgerber [EMAIL PROTECTED] ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Please welcome our Summer of Code Students
Murray Stokely <[EMAIL PROTECTED]> writes: > * Reference implementation of the SNTP client, > Johannes Maximilian Kuehn, mentored by Harlan Stenn (NTP) Bummer. I've already written one, and Harlan is aware of it. DES -- Dag-Erling Smørgrav - [EMAIL PROTECTED] ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Saving entire console sessions
On 04/24/08 15:28, Julian H. Stacey wrote: > Tobias Roth wrote: >> On 04/24/08 14:27, Sanjeev Kumar.S wrote: >>> Hi, >>> Is there any way to save entire console >>> sessions ? >>> Screen asks me to copy and paste what >>> I want. I don't want to do that I need to save >>> entire sessions. like a start till I do a exit or >>> quit the application. Is there a utility like >>> that ? >> Maybe screen(1) is what you are looking for? It makes typescripts of >> terminal sessions. > > man script yeah, right... that's of course what I meant :-) -- Tobias Roth || http://fsck.ch || PGP: 0xCE599B4D | You're a pushy little bastard, ain't you? | - Cobra Kai Sensei John Kreese ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Saving entire console sessions
Tobias Roth wrote: > On 04/24/08 14:27, Sanjeev Kumar.S wrote: > > Hi, > > Is there any way to save entire console > > sessions ? > > Screen asks me to copy and paste what > > I want. I don't want to do that I need to save > > entire sessions. like a start till I do a exit or > > quit the application. Is there a utility like > > that ? > > Maybe screen(1) is what you are looking for? It makes typescripts of > terminal sessions. man script Julian -- Julian Stacey: BSDUnixLinux C Prog Admin SysEng Consult Munich www.berklix.com Mail just Ascii plain text. HTML & Base64 text are spam. ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: devctl (alike?) for devfs
On Thursday 24 April 2008 04:05:10 am Andriy Gapon wrote: > on 24/04/2008 01:39 Andriy Gapon said the following: > > on 23/04/2008 22:49 John Baldwin said the following: > >> Events have a subsystem associated with them, so devfs events would use > >> their own subsystem type to avoid that sort of confusion. > > > > Thank you for straightening me - for some reason I was thinking about > > "+"/"-" (attach/detach) events, but I see that "!" (notification) would > > be much more appropriate. As you said, this can be completely modeled > > after IF notifications. > > Do you think it would be better to post notification from make_dev*() in > kern_conf.c or from devfs_create()? > I mean will such notification be useful if there is no devfs to access > the device from userland? I'm not sure. Probably just make_dev*() as all systems will have a devfs on /dev. -- John Baldwin ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Saving entire console sessions
On 04/24/08 14:27, Sanjeev Kumar.S wrote: > Hi, > Is there any way to save entire console > sessions ? > Screen asks me to copy and paste what > I want. I don't want to do that I need to save > entire sessions. like a start till I do a exit or > quit the application. Is there a utility like > that ? Maybe screen(1) is what you are looking for? It makes typescripts of terminal sessions. Kind regards, Tobias -- Tobias Roth || http://fsck.ch || PGP: 0xCE599B4D | Go down deep enough into anything and you will find mathematics. | - Dean Schlicter ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Saving entire console sessions
Hi, On Thu, Apr 24, 2008 at 05:27:36AM -0700, Sanjeev Kumar.S wrote: > Is there any way to save entire console > sessions ? > Screen asks me to copy and paste what > I want. I don't want to do that I need to save > entire sessions. like a start till I do a exit or > quit the application. Is there a utility like > that ? Please, don't hijack the thread next time :-) Either way, have a look at script(1) - I think that is what you are looking for. Regards, -- Rink P.W. Springer- http://rink.nu "Anyway boys, this is America. Just because you get more votes doesn't mean you win." - Fox Mulder ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Saving entire console sessions
[Trimmed Cc: list] On Thu, Apr 24, 2008 at 05:27:36AM -0700, Sanjeev Kumar.S wrote: > Hi, > Is there any way to save entire console > sessions ? > Screen asks me to copy and paste what > I want. I don't want to do that I need to save > entire sessions. like a start till I do a exit or > quit the application. Is there a utility like > that ? You mean something like script(1) ? -- Erik Trulsson [EMAIL PROTECTED] ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Saving entire console sessions
> Is there any way to save entire console > sessions ? > Screen asks me to copy and paste what > I want. I don't want to do that I need to save > entire sessions. like a start till I do a exit or > quit the application. Is there a utility like > that ? man 1 script > Regards, > Sanjeev. [SorAlx] ridin' VS1400 ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Saving entire console sessions
Hi, Is there any way to save entire console sessions ? Screen asks me to copy and paste what I want. I don't want to do that I need to save entire sessions. like a start till I do a exit or quit the application. Is there a utility like that ? Regards, Sanjeev. - Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Introduction
On Thu, Apr 24, 2008 at 3:30 PM, Anders Nore <[EMAIL PROTECTED]> wrote: > > Hello everyone, > > my name is Anders Nore, I'm in my second year studying Computer Science at > the Norwegian University of Science and Technology. I've been selected to > work on adding .db support to the pkg_* tools. > > The first time I was introduced to FreeBSD was on an irc channel called > #htmlhelp believe it or not, I were using Linux at the time and found out > that I had chosen completely wrong and FreeBSD would become my weapon of > choice. Becoming a FreeBSD developer has been dream for a long time, and > just the FreeBSD mail alias is enough payment for me ;-) great! ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Please welcome our Summer of Code Students
Hi everyone I'm Nick Barkas, and will be working on making memory usage for dirhash dynamic. I'm a master's student studying scientific computing at Kungliga Tekniska högskolan (Royal Institute of Technology) in Stockholm. I have been using FreeBSD for several years and I am very happy to get this chance to spend a lot of time hacking on it, learning more about what goes on in the kernel, and hopefully making UFS2 faster. I also work for a game company called Three Rings Design based in San Francisco. We use FreeBSD for most of our servers there, and I do backend software engineering and system administration. Thanks! Nick On Tue, Apr 22, 2008 at 9:56 AM, Murray Stokely <[EMAIL PROTECTED]> wrote: > Google announced today that they are funding 21 of our Summer of Code > applicants (out of over 100 applications). We had at least 10 highly > competitive applications that were not funded by Google, and we've > encouraged some of those students to work on FreeBSD this summer > anyway. We are very much looking forward to working with these > students this summer on the chosen FreeBSD related projects. So > without further ado, the student/mentor pairs are : > > * Dynamic memory allocation for dirhash in UFS2, > Sean Nicholas Barkas, mentored by David Malone > * TCP/IP regression test suite, > Victor Hugo Bilouro, mentored by George Neville-Neil > * Improved Wine support under FreeBSD, > Eric Durbin, mentored by Kristofer Paul Moore (PC-BSD) > * Allowing for Parallel builds in the FreeBSD Ports Collection, > David Forsythe, mentored by Mark Linimon > * Implementation of MPLS in FreeBSD, > Ryan French, mentored by Kip Macy > * Audit Firewall Events from Kernel, > Diego Giagio, mentored by Christian S.J. Peron > * Embedded FreeBSD project, > James Andrew Harrison, mentored by Warner Losh > * FreeBSD auditing system testing, > Vincenzo Iozzo, mentored by Attilio Rao > * Multibyte collation support, > Konrad Jankowski, mentored by Diomidis Spinellis > * Porting BSD-licensed Text-Processing Tools from OpenBSD, > Gabor Kovesdan, mentored by Max Khon > * Reference implementation of the SNTP client, > Johannes Maximilian Kuehn, mentored by Harlan Stenn (NTP) > * Improving layer2 filtering in FreeBSD, > Gleb Kurtsov, mentored by Andrew Thompson > * DTrace Toolkit on FreeBSD, > LIQUN LI, mentored by John Birrell > * NFSv4 ACLs, > Edward Tomasz Napierala, mentored by Robert Watson > * Adding .db support to pkg_tools --> pkg_improved, > Anders Nore, mentored by Florent Thoumie > * 802.11 Fuzzing and Testing, > Aniket Patankar, mentored by Sam Leffler > * TCP anomaly detector, > Rui Alexandre Cunha Paulo, mentored by Andre Oppermann > * Ports license auditing infrastructure, > Alejandro Pulver, mentored by Brooks Davis > * VM Algorithm Improvement, > Mayur Shardul, mentored by Jeffrey Roberson > * Enhancing FreeBSD's Libarchive, > Anselm Strauss, mentored by Timothy Kientzle > * Porting FreeBSD to Efika SoC (PPC bring up), > Przemek Witaszczyk, mentored by Rafal Jaworowski > > We are still in the process of getting them signed up for perforce and > wiki accounts and such, but eventually the students will create > project pages describing their plans and progress at : > > http://wiki.freebsd.org/SummerOfCode2008 > > Most of the students are still busy with coursework at the moment, and > so this is a community bonding period before the summer work is > supposed to begin. In the mean time if you want to send a note to > congratulate them you can mail them all at [EMAIL PROTECTED] > > Thanks to everyone (over 60 committers registered this year!) that > helped review the student applications, and especially thanks to > Google for this significant investment in the the FreeBSD development > community. > > - Murray > ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Introduction
Hello everyone, my name is Anders Nore, I'm in my second year studying Computer Science at the Norwegian University of Science and Technology. I've been selected to work on adding .db support to the pkg_* tools. The first time I was introduced to FreeBSD was on an irc channel called #htmlhelp believe it or not, I were using Linux at the time and found out that I had chosen completely wrong and FreeBSD would become my weapon of choice. Becoming a FreeBSD developer has been dream for a long time, and just the FreeBSD mail alias is enough payment for me ;-) Anders Nore ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: devctl (alike?) for devfs
on 24/04/2008 01:39 Andriy Gapon said the following: > on 23/04/2008 22:49 John Baldwin said the following: >> Events have a subsystem associated with them, so devfs events would use >> their >> own subsystem type to avoid that sort of confusion. > > Thank you for straightening me - for some reason I was thinking about > "+"/"-" (attach/detach) events, but I see that "!" (notification) would > be much more appropriate. As you said, this can be completely modeled > after IF notifications. Do you think it would be better to post notification from make_dev*() in kern_conf.c or from devfs_create()? I mean will such notification be useful if there is no devfs to access the device from userland? -- Andriy Gapon ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Please welcome our Summer of Code Students
On Thu, Apr 24, 2008 at 12:45:48AM +0200, Konrad Jankowski wrote: > Greetings to all in the FreeBSD community! > My long-time dream of joining has come! welcome! your project will help tons of people who are (attempting to) run databases on fbsd ;) thnx! roman ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Fwd: strdup(NULL) supposed to create SIGSEGV?
On Wed, 23 Apr 2008, Bakul Shah wrote: The *exception* is where a function is explicitly prepared to handle NULLs. One must read its man page carefully and if it doesn't say anything about how NULLs in place of ptrs are handled, one must not pass in NULLs! While I recognize there are some useful consumer simplicity benefits to accepting NULL as an argument to free(3), it's always made me a bit uneasy for this reason. Robert N M Watson Computer Laboratory University of Cambridge ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"