Re: .eh_frame, .eh_frame_hdr - how to remove that trash

2011-10-21 Thread Alexander Kabaev
On Fri, 21 Oct 2011 00:54:32 -0700 Garrett Cooper wrote: > On Fri, Oct 21, 2011 at 12:51 AM, Wojciech Puchar > wrote: > >> on entry into each function, which is different from usual x86 > >> convention. > >> Asynchronous unwind info (yeah, same stuff you keep referring to as > >> crap), is the o

Re: .eh_frame, .eh_frame_hdr - how to remove that trash

2011-10-21 Thread Wojciech Puchar
that i do not want to debug isn't it? It seems like a binutils bug (or somewhere in that immediate neighborhood) because all debugging related sections should be stripped out by strip including unwind, correct? indeed. ___ freebsd-hackers@freebsd.org

Re: .eh_frame, .eh_frame_hdr - how to remove that trash

2011-10-21 Thread Garrett Cooper
On Fri, Oct 21, 2011 at 12:51 AM, Wojciech Puchar wrote: >> on entry into each function, which is different from usual x86 >> convention. >> Asynchronous unwind info (yeah, same stuff you keep referring to as >> crap), is the only way you can debug your program or get anything >> remotely close to

Re: .eh_frame, .eh_frame_hdr - how to remove that trash

2011-10-21 Thread Wojciech Puchar
on entry into each function, which is different from usual x86 convention. Asynchronous unwind info (yeah, same stuff you keep referring to as crap), is the only way you can debug your program or get anything remotely close to usable backtrace, by default. i understand but i DO NOT called compil

Re: .eh_frame, .eh_frame_hdr - how to remove that trash

2011-10-20 Thread Alexander Kabaev
On Fri, 21 Oct 2011 00:20:52 +0200 (CEST) Wojciech Puchar wrote: > >> i both don't use C++ and don't want to debug when i am linking > >> final binary. > >> > >> how to turn this off? > > > > Which compiler do you use? > > supplied with FreeBSD 8.2 > [wojtek@wojtek ~]$ cc -v > Using built-in spe

Re: .eh_frame, .eh_frame_hdr - how to remove that trash

2011-10-20 Thread Alexander Kabaev
On Fri, 21 Oct 2011 01:13:59 +0200 (CEST) Wojciech Puchar wrote: > > > > -fno-asynchronous-unwind-tables should get rid of unwind > > information, a.k.a. 'crap'. > and this worked. found it just before getting your mail ;) > > yes and this is crap... possibly it is needed for some cases and some

Re: .eh_frame, .eh_frame_hdr - how to remove that trash

2011-10-20 Thread Wojciech Puchar
-fno-asynchronous-unwind-tables should get rid of unwind information, a.k.a. 'crap'. and this worked. found it just before getting your mail ;) yes and this is crap... possibly it is needed for some cases and some languages and i would not call it crap if it would not be included by default!

Re: .eh_frame, .eh_frame_hdr - how to remove that trash

2011-10-20 Thread Wojciech Puchar
--remove-section .rel.eh_frame --remove-section .rela.eh_frame $your_executable After I done this, the binary size *increased* a lot, while objdump shows that the content is less. I don't understand. add -fomit-frame-pointer -fno-exceptions -fno-asynchronous-unwind-tables -fno-unwind-t

Re: .eh_frame, .eh_frame_hdr - how to remove that trash

2011-10-20 Thread Wojciech Puchar
After I done this, the binary size *increased* a lot, while objdump shows that the content is less. I don't understand. same for me strip -R .eh_frame -R .eh_frame_hdr do the same. ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.o

Re: .eh_frame, .eh_frame_hdr - how to remove that trash

2011-10-20 Thread Wojciech Puchar
this do the same that strip -R what i already tried and as i already wrote - the same results. program is working and sections are stripped but i am getting ca 1MB of binary zero paddings. ___ freebsd-hackers@freebsd.org mailing list http://list

Re: .eh_frame, .eh_frame_hdr - how to remove that trash

2011-10-20 Thread Wojciech Puchar
i both don't use C++ and don't want to debug when i am linking final binary. how to turn this off? Which compiler do you use? supplied with FreeBSD 8.2 [wojtek@wojtek ~]$ cc -v Using built-in specs. Target: amd64-undermydesk-freebsd Configured with: FreeBSD/amd64 system compiler Thread model:

Re: .eh_frame, .eh_frame_hdr - how to remove that trash

2011-10-20 Thread Zhihao Yuan
On Thu, Oct 20, 2011 at 7:13 AM, Dimitry Andric wrote: > On 2011-10-20 12:44, Wojciech Puchar wrote: > >> i both don't use C++ and don't want to debug when i am linking final >> binary. >> >> how to turn this off? >> > > objcopy --rem

Re: .eh_frame, .eh_frame_hdr - how to remove that trash

2011-10-20 Thread Dimitry Andric
On 2011-10-20 12:44, Wojciech Puchar wrote: i both don't use C++ and don't want to debug when i am linking final binary. how to turn this off? objcopy --remove-section .eh_frame_hdr --remove-section .eh_frame --remove-section .rel.eh_frame --remove-section .rela.eh_frame $your_exec

Re: .eh_frame, .eh_frame_hdr - how to remove that trash

2011-10-20 Thread Andriy Gapon
on 20/10/2011 13:44 Wojciech Puchar said the following: > i both don't use C++ and don't want to debug when i am linking final binary. > > how to turn this off? Which compiler do you use? -- Andriy Gapon ___ freebsd-hackers@freebsd.org mailing list ht

Re: .eh_frame, .eh_frame_hdr - how to remove that trash

2011-10-20 Thread Wojciech Puchar
i both don't use C++ and don't want to debug when i am linking final binary. how to turn this off? On Thu, 20 Oct 2011, Joerg Sonnenberger wrote: On Thu, Oct 20, 2011 at 09:41:24AM +0200, Wojciech Puchar wrote: how to do this and what the hell it is used at all? It is used to allow unwindi

Re: .eh_frame, .eh_frame_hdr - how to remove that trash

2011-10-20 Thread Joerg Sonnenberger
On Thu, Oct 20, 2011 at 09:41:24AM +0200, Wojciech Puchar wrote: > how to do this and what the hell it is used at all? It is used to allow unwinding stack frames. That is required for exception handling with C++ and also to allow debugging in the presence of -fomit-frame-pointer, e.g. as used by d

.eh_frame, .eh_frame_hdr - how to remove that trash

2011-10-20 Thread Wojciech Puchar
how to do this and what the hell it is used at all? i found somewhere it is some debugging info but i do not put -g option to compiler while compiling and still get substantial amount of this trash. trying strip -R .eh_frame -R .eh_frame_hdr results in working but LARGER binary, padded with lo

Re: [GSoC]I want to remove everything perl/tcl/gtags in the new nvi

2011-07-15 Thread Alexander Leidinger
Quoting Kurt Lidl (from Thu, 14 Jul 2011 10:06:45 -0400): On Thu, Jul 14, 2011 at 01:22:49AM -0500, Zhihao Yuan wrote: Second, the perl/tcl interpreter support; you can apply a perl/tcl command to the file whiling you are editing. I beg no one here used this feature before. Bzzt. I've used t

Re: Fwd: [GSoC]I want to remove everything perl/tcl/gtags in the new nvi

2011-07-14 Thread Zhihao Yuan
Here is my introspection: Q: Why drop DB3/4? A: Licenses problem. Q: Licenses problem matters? A: It causes we can't accept nvi-1.8x in our base system. Q: Why an editor in the base system? A: Always accessible. Anywhere (SSH), any situation (inc. system crashes). Q: Why not vim-lite/original-vi?

Re: [GSoC]I want to remove everything perl/tcl/gtags in the new nvi

2011-07-14 Thread Duane H. Hesser
Before adding > more features like file encoding detection, I want to remove some > features in nvi. > > First, gtags mode. This feature was imported by > http://lists.gnu.org/archive/html/global-commit/2005-01/msg2.html > . There's no gtags in our base system, and I can&#x

Re: Fwd: [GSoC]I want to remove everything perl/tcl/gtags in the new nvi

2011-07-14 Thread Sean M. Collins
On 7/14/11 1:07 PM, Zhihao Yuan wrote: > I regards nvi as a trustful editor when you login into other ppl's > machines. Yes - this is the exact use case for Vi in my mind. If I needed features I'd install vim. Come to think of it, since there is already a vim-lite and vim port, why not make a logi

Fwd: [GSoC]I want to remove everything perl/tcl/gtags in the new nvi

2011-07-14 Thread Zhihao Yuan
Both the guy and me failed to reply to the group. Let me forward it. -- Forwarded message -- From: Zhihao Yuan Date: Thu, Jul 14, 2011 at 3:58 AM Subject: Re: [GSoC]I want to remove everything perl/tcl/gtags in the new nvi To: Sebastian Chmielewski On Thu, Jul 14, 2011 at 3

Re: [GSoC]I want to remove everything perl/tcl/gtags in the new nvi

2011-07-14 Thread Kurt Lidl
On Thu, Jul 14, 2011 at 01:22:49AM -0500, Zhihao Yuan wrote: > Second, the perl/tcl interpreter support; you can apply a perl/tcl > command to the file whiling you are editing. I beg no one here used > this feature before. Bzzt. I've used the perl interpreter before on a project. In that case, we

Re: [GSoC]I want to remove everything perl/tcl/gtags in the new nvi

2011-07-13 Thread Luigi Rizzo
gh iconv. Before adding > more features like file encoding detection, I want to remove some > features in nvi. > > First, gtags mode. This feature was imported by > http://lists.gnu.org/archive/html/global-commit/2005-01/msg2.html > . There's no gtags in our base system, and I c

[GSoC]I want to remove everything perl/tcl/gtags in the new nvi

2011-07-13 Thread Zhihao Yuan
Hi hackers, I'm doing my GSoC project, "Multibyte Encoding Support in Nvi" at https://github.com/lichray/nvi2 . Currently, the editor can support read/display/write multibyte encoding through iconv. Before adding more features like file encoding detection, I want to remove some

Re: [PATCH] Remove dead code in netstat from route.c

2011-07-12 Thread Alexander V. Chernikov
On 12.07.2011 11:10, Garrett Cooper wrote: On Mon, Jul 11, 2011 at 11:16 PM, Alexander V. Chernikov wrote: Garrett Cooper wrote: Hi, While trying to determine how to print out routes via kvm for net-snmp, I noticed that there's a chunk of code from the 4.4 BSD Lite days that isn't execut

Re: [PATCH] Remove dead code in netstat from route.c

2011-07-12 Thread Garrett Cooper
On Mon, Jul 11, 2011 at 11:16 PM, Alexander V. Chernikov wrote: > Garrett Cooper wrote: >> Hi, >>     While trying to determine how to print out routes via kvm for >> net-snmp, I noticed that there's a chunk of code from the 4.4 BSD Lite >> days that isn't executed in netstat as NewTree is always

Re: [PATCH] Remove dead code in netstat from route.c

2011-07-11 Thread Alexander V. Chernikov
Garrett Cooper wrote: > Hi, > While trying to determine how to print out routes via kvm for > net-snmp, I noticed that there's a chunk of code from the 4.4 BSD Lite > days that isn't executed in netstat as NewTree is always 0. The > following patch removes that dead code and gets the FreeBSD so

[PATCH] Remove dead code in netstat from route.c

2011-07-11 Thread Garrett Cooper
Hi, While trying to determine how to print out routes via kvm for net-snmp, I noticed that there's a chunk of code from the 4.4 BSD Lite days that isn't executed in netstat as NewTree is always 0. The following patch removes that dead code and gets the FreeBSD source for netstat more in line wi

Re: [PATCH] Remove -nostdinc in aicasm

2011-07-03 Thread Robert Millan
2011/7/2 Robert Millan : > 2011/7/2 Benjamin Kaduk : >> There is a functional difference between '-nostdinc -I/usr/include -I.' even >> when the standard include search path is just /usr/include -- the standard >> include paths are always searched last (unless -nostdinc is given), even if >> they a

Re: [PATCH] Remove -nostdinc in aicasm

2011-07-03 Thread Robert Millan
2011/7/3 Matthias Andree : > Note that there are GCC-version-specific directories for the more > intricate details such as stdarg.h and compiler-specific builtins -- you > don't get those with -I/usr/include either. I know. That's actually the problem I'm trying to solve ( not found). -- Robert

Re: [PATCH] Remove -nostdinc in aicasm

2011-07-02 Thread Matthias Andree
Am 02.07.2011 17:25, schrieb Benjamin Kaduk: > On Sat, 2 Jul 2011, Robert Millan wrote: > >> The userland aicasm utility in sys/dev/aic7xxx/aicasm/Makefile is being >> built with "-nostdinc -I/usr/include" options. Unfortunately this breaks >> building aicasm on systems using the upstream version

Re: [PATCH] Remove -nostdinc in aicasm

2011-07-02 Thread Robert Millan
2011/7/2 Benjamin Kaduk : > There is a functional difference between '-nostdinc -I/usr/include -I.' even > when the standard include search path is just /usr/include -- the standard > include paths are always searched last (unless -nostdinc is given), even if > they are explicitly listed on the com

Re: [PATCH] Remove -nostdinc in aicasm

2011-07-02 Thread Benjamin Kaduk
/usr/local/include replacing '.'.) I have not checked whether this affects aicasm, though (which may or may not manifest itself as compiler warnings). -Ben Kaduk This was introduced by obrien (CCed) in 2002, apparently to remove a warning. I've verified that removing it d

[PATCH] Remove -nostdinc in aicasm

2011-07-02 Thread Robert Millan
d by "-I/usr/include". This was introduced by obrien (CCed) in 2002, apparently to remove a warning. I've verified that removing it doesn't produce any warnings on FreeBSD 9-CURRENT environment. Please consider this patch to remove -nostdinc in that file. -- Robert Milla

Re: Remove printf in acpi_tz_sanity()

2010-11-22 Thread Paul B Mahol
On 11/22/10, Andriy Gapon wrote: > on 22/11/2010 01:18 Paul B Mahol said the following: >> On Sun, Nov 21, 2010 at 9:17 PM, Andriy Gapon wrote: >>> As is - this is a perfect candidate for a "local only" patch. >>> To be included into the tree - this, most probably, has to be controlled >>> by a >

Re: Remove printf in acpi_tz_sanity()

2010-11-22 Thread Lars Engels
On Sun, Nov 21, 2010 at 10:18:13PM -0200, Carlos A. M. dos Santos wrote: > On Sun, Nov 21, 2010 at 9:18 PM, Paul B Mahol wrote: > > On Sun, Nov 21, 2010 at 9:17 PM, Andriy Gapon wrote: > >> on 21/11/2010 13:07 Paul B Mahol said the following: > >>> This patch removes printf which spams console wh

Re: Remove printf in acpi_tz_sanity()

2010-11-22 Thread Andriy Gapon
on 22/11/2010 01:18 Paul B Mahol said the following: > On Sun, Nov 21, 2010 at 9:17 PM, Andriy Gapon wrote: >> As is - this is a perfect candidate for a "local only" patch. >> To be included into the tree - this, most probably, has to be controlled by a >> tunable/sysctl. > > So solution for usel

Re: [PATCH] Remove references to ramdisk* in rc.conf(5)

2010-11-21 Thread Doug Barton
this feature either, so feel free to MFC. Doug On 11/12/2010 17:19, Garrett Cooper wrote: Hi, ramdisk* hasn't been in place for quite a while now (I think since the 5.x days when the mdconfig scripts were created). Could someone please review and potentially commit this manpage update to

Re: Remove printf in acpi_tz_sanity()

2010-11-21 Thread Carlos A. M. dos Santos
On Sun, Nov 21, 2010 at 9:18 PM, Paul B Mahol wrote: > On Sun, Nov 21, 2010 at 9:17 PM, Andriy Gapon wrote: >> on 21/11/2010 13:07 Paul B Mahol said the following: >>> This patch removes printf which spams console whenever thermal state >>> is changed in laptop. Source of problem is in buggy BIOS

Re: Remove printf in acpi_tz_sanity()

2010-11-21 Thread Paul B Mahol
On Sun, Nov 21, 2010 at 9:17 PM, Andriy Gapon wrote: > on 21/11/2010 13:07 Paul B Mahol said the following: >> This patch removes printf which spams console whenever thermal state >> is changed in laptop. Source of problem is in buggy BIOS. >> >> diff --git a/sys/dev/acpica/acpi_thermal.c b/sys/de

Re: Remove printf in acpi_tz_sanity()

2010-11-21 Thread Andriy Gapon
on 21/11/2010 13:07 Paul B Mahol said the following: > This patch removes printf which spams console whenever thermal state > is changed in laptop. Source of problem is in buggy BIOS. > > diff --git a/sys/dev/acpica/acpi_thermal.c b/sys/dev/acpica/acpi_thermal.c > index 515a742..00866b2 100644 > -

Remove printf in acpi_tz_sanity()

2010-11-21 Thread Paul B Mahol
This patch removes printf which spams console whenever thermal state is changed in laptop. Source of problem is in buggy BIOS. diff --git a/sys/dev/acpica/acpi_thermal.c b/sys/dev/acpica/acpi_thermal.c index 515a742..00866b2 100644 --- a/sys/dev/acpica/acpi_thermal.c +++ b/sys/dev/acpica/acpi_ther

Re: [PATCH] Remove references to ramdisk* in rc.conf(5)

2010-11-12 Thread Doug Barton
x27;t been in place for quite a while now (I think since the 5.x days when the mdconfig scripts were created). Could someone please review and potentially commit this manpage update to remove the ramdisk* references from rc.conf(5)? Thanks! -Garrett -- Nothin' ever doesn't cha

[PATCH] Remove references to ramdisk* in rc.conf(5)

2010-11-12 Thread Garrett Cooper
Hi, ramdisk* hasn't been in place for quite a while now (I think since the 5.x days when the mdconfig scripts were created). Could someone please review and potentially commit this manpage update to remove the ramdisk* references from rc.conf(5)? Thanks! -Garrett Index: share/man/man5/rc

Re: [PATCH] update to the latest libedit version and remove libreadline deps

2010-11-09 Thread Baptiste Daroussin
Yet another version of the patch, I hope the last one http://people.freebsd.org/~bapt/update-libedit.patch Everything should be working as it used to do before. Now gdbtui is almost working. why almost because everything works except Ctrl-D (EOF), I know where the bug is (lib/libedit/read.c : func

Re: [PATCH] update to the latest libedit version and remove libreadline deps

2010-11-06 Thread Baptiste Daroussin
Thanks all for your returns, I'll update my patch during the next week. Concerning the reverts I'll try to reintegrate them and then send them to upstream, Because I think it is better to keep in sync to easier futures updates. regards, Bapt ___ freebsd

Re: [PATCH] update to the latest libedit version and remove libreadline deps

2010-11-06 Thread Anonymous
Anonymous writes: > Anonymous writes: > >> Baptiste Daroussin writes: > [...] >>> You can find the patch against current here: >>> http://people.freebsd.org/~bapt/update-libedit.patch >> >> $ make depend >> /usr/src/lib/libedit/makelist -h /usr/src/lib/libedit/vi.c > vi.h.tmp && >> mv vi

Re: [PATCH] update to the latest libedit version and remove libreadline deps

2010-11-05 Thread Jilles Tjoelker
On Fri, Nov 05, 2010 at 04:32:56PM +0100, Baptiste Daroussin wrote: > I've updated libedit to the latest version available in the netbsd cvs. > UTF8 support is disabled for now has it seems to be experimental and segfault. > I also patch and tested all the sources that used to be linked against > l

[PATCH] update to the latest libedit version and remove libreadline deps

2010-11-05 Thread Baptiste Daroussin
Hi all, I've updated libedit to the latest version available in the netbsd cvs. UTF8 support is disabled for now has it seems to be experimental and segfault. I also patch and tested all the sources that used to be linked against libreadline so that it now uses libedit making libreadline unused (I

bin/118292: Add support to remove all msg/shm/sem ids with ipcrm

2007-11-27 Thread Edwin Groothuis
Hello, A friend of me has submitted this PR and I promised him that I would see if I could get it implemented. I couldn't find anybody directly responsible for the ips/iprcm tools, so I throw it in here for discussion. >Description: I've observed that linux apps running under the linuxulator

Re: [Patch] sys/kern/kern_descrip.c: remove double limit check in fcntl()

2006-11-14 Thread John Baldwin
On Thursday 09 November 2006 14:33, Ed Schouten wrote: > * Ed Schouten <[EMAIL PROTECTED]> wrote: > > The patch below prevents this by performing this check by do_dup(). It > > will prevent fcntl() from PROC_LOCK()'ing twice. It also fixes the > > return value of fcntl(). The manual page states tha

Re: [Patch] sys/kern/kern_descrip.c: remove double limit check in fcntl()

2006-11-09 Thread Ed Schouten
* Ed Schouten <[EMAIL PROTECTED]> wrote: > The patch below prevents this by performing this check by do_dup(). It > will prevent fcntl() from PROC_LOCK()'ing twice. It also fixes the > return value of fcntl(). The manual page states that it should return > EMFILE when it exceeds its limit, though t

[Patch] sys/kern/kern_descrip.c: remove double limit check in fcntl()

2006-11-09 Thread Ed Schouten
Hello, I'm working on a project at school to develop a multimedia system (a la Windows Media Center) based on FreeBSD. I was looking at some code in sys/kern/kern_descrip.c to figure out how the fcntl() with F_DUPFD and dup() differ. I discovered that kern_fcntl() contains some redundant code. Ri

Re: Adding remove file option to BSD tar?

2006-08-20 Thread Tim Kientzle
What do people think about adding an equivalent to gtars --remove-files? Shouldn't be too tricky. If you think you know how to implement it, send me the diffs. Doing this "safely" is nearly impossible, of course. In the compressed case, the compression pipeline buffer

Re: Adding remove file option to BSD tar?

2006-08-08 Thread Tim Kientzle
Steven Hartland wrote: What do people think about adding an equivalent to gtars --remove-files? Shouldn't be too tricky. If you think you know how to implement it, send me the diffs. Doing this "safely" is nearly impossible, of course. In the compressed case, the compr

Re: Adding remove file option to BSD tar?

2006-08-08 Thread Steven Hartland
- Original Message - From: "Roman Kurakin" <[EMAIL PROTECTED]> In case one concerned by the space problem there is now other way to do it failsafe. In case it is gziped it need to be extracted first in any case. Sorry dont follow you there? Are you talking about issues of deleting the

Re: Adding remove file option to BSD tar?

2006-08-08 Thread Roman Kurakin
Steven Hartland: - Original Message - From: "Eric Anderson" <[EMAIL PROTECTED]> Some people on this list might argue that you could do this another way, something like piping a tar extract to another tar create that excludes that file. Sure that can be done but its a PITA and majo

Re: Adding remove file option to BSD tar?

2006-08-08 Thread Eric Anderson
On 08/08/06 13:49, Steven Hartland wrote: - Original Message - From: "Eric Anderson" <[EMAIL PROTECTED]> Some people on this list might argue that you could do this another way, something like piping a tar extract to another tar create that excludes that file. Sure that can be done bu

Re: Adding remove file option to BSD tar?

2006-08-08 Thread Steven Hartland
- Original Message - From: "Eric Anderson" <[EMAIL PROTECTED]> Some people on this list might argue that you could do this another way, something like piping a tar extract to another tar create that excludes that file. Sure that can be done but its a PITA and majorly slow so a none opt

Re: Adding remove file option to BSD tar?

2006-08-08 Thread Eric Anderson
On 08/08/06 12:09, Steven Hartland wrote: What do people think about adding an equivalent to gtars --remove-files? Its an option I find myself longing for on a regular basis and hence end up installing gtar and using that which kind of defeats the point of having bsd tar. So what do people

Adding remove file option to BSD tar?

2006-08-08 Thread Steven Hartland
What do people think about adding an equivalent to gtars --remove-files? Its an option I find myself longing for on a regular basis and hence end up installing gtar and using that which kind of defeats the point of having bsd tar. So what do people think about adding this option? Steve

Re: (feature change request) remove link-layer generated routes from netstat -r

2006-02-24 Thread Eugene Grosbein
On Thu, Feb 23, 2006 at 09:56:46AM +0200, Nikos Vassiliadis wrote: > > Just use: > > > > netstat -rn | awk '$3 !~ /L/ { print }' > > That's exactly the point Eugene, I don't want to find ways to filter it out. > It happens frequently. I didn&

Re: (feature change request) remove link-layer generated routes from netstat -r

2006-02-24 Thread Nikos Vassiliadis
On Friday 24 February 2006 15:24, Giorgos Keramidas wrote: > On 2006-02-24 15:12, Nikos Vassiliadis <[EMAIL PROTECTED]> wrote: > >On Friday 24 February 2006 15:04, Giorgos Keramidas wrote: > >>On 2006-02-24 15:00, Giorgos Keramidas <[EMAIL PROTECTED]> wrote: > >>> Unfortunately, the -s option is ta

Re: (feature change request) remove link-layer generated routes from netstat -r

2006-02-24 Thread Nikos Vassiliadis
don't want to find ways to filter it > > out. It happens frequently. I didn't say it's difficult to remove it, I > > just don't want it there all the time. That's why you can use -a to get > > the old behavior. > > Just make ~/bin/netstat that will filter

Re: (feature change request) remove link-layer generated routes from netstat -r

2006-02-24 Thread Giorgos Keramidas
On 2006-02-24 15:12, Nikos Vassiliadis <[EMAIL PROTECTED]> wrote: >On Friday 24 February 2006 15:04, Giorgos Keramidas wrote: >>On 2006-02-24 15:00, Giorgos Keramidas <[EMAIL PROTECTED]> wrote: >>> Unfortunately, the -s option is taken already. It enables the display >>> of statistics. A possible

Re: (feature change request) remove link-layer generated routes from netstat -r

2006-02-24 Thread Nikos Vassiliadis
On Friday 24 February 2006 15:04, Giorgos Keramidas wrote: > On 2006-02-24 15:00, Giorgos Keramidas <[EMAIL PROTECTED]> wrote: > > Unfortunately, the -s option is taken already. It enables the display > > of statistics. A possible alternative is the -c (compact) option, > > i.e. with a patch simi

Re: (feature change request) remove link-layer generated routes from netstat -r

2006-02-24 Thread Giorgos Keramidas
On 2006-02-24 15:00, Giorgos Keramidas <[EMAIL PROTECTED]> wrote: > Unfortunately, the -s option is taken already. It enables the display > of statistics. A possible alternative is the -c (compact) option, > i.e. with a patch similar to the following: > > [...] I forgot to show sample output, so

Re: (feature change request) remove link-layer generated routes from netstat -r

2006-02-24 Thread Giorgos Keramidas
On 2006-02-24 11:32, Nikos Vassiliadis <[EMAIL PROTECTED]> wrote: >On Thursday 23 February 2006 20:24, Giorgos Keramidas wrote: >> >> ... about using a switch to shorten the netstat output (by not >> displaying the link-layer entries): >> >> How about making the new behavior non-default, i.e. toggl

Re: (feature change request) remove link-layer generated routes from netstat -r

2006-02-24 Thread Eugene Grosbein
On Wed, Feb 22, 2006 at 03:50:17PM +0200, Nikos Vassiliadis wrote: > netstat -r prints link-layer generated routes and many > times the output becomes somehow obscure. For > example: > > [EMAIL PROTECTED]:0:/usr/home/src/FreeBSD-6/src/usr.bin/netstat# netstat > -ranfinet > Routing tables > > In

Re: (feature change request) remove link-layer generated routes from netstat -r

2006-02-24 Thread Nikos Vassiliadis
FlagsRefs Use Netif > >>>>>Expire default10.1.1.244 UGS 031016 > >>>>>rl0 10.1.1/24 link#1 UC 00 > >>>>> rl0 127.0.0.1 127.0.0.1 UH 0 111

Re: (feature change request) remove link-layer generated routes from netstat -r

2006-02-24 Thread Nikos Vassiliadis
00 > > > > fxp0 [EMAIL PROTECTED]:0:/usr/home/src/FreeBSD-6/src/usr.bin/netstat# > > > > > > > > > > > > The attachment patch ("cvs diff -u -rHEAD route.c" generated) prints > > > > link-layer generated routes whe

Re: (feature change request) remove link-layer generated routes from netstat -r

2006-02-23 Thread Giorgos Keramidas
agsRefs Use Netif >>>>>Expire default10.1.1.244 UGS 031016 >>>>>rl0 10.1.1/24 link#1 UC 00rl0 >>>>>127.0.0.1 127.0.0.1 UH 0 1117lo0 >>>>

Re: (feature change request) remove link-layer generated routes from netstat -r

2006-02-23 Thread Gary Corcoran
f the time. Thoughts? POLA violation? Just use: netstat -rn | awk '$3 !~ /L/ { print }' That's exactly the point Eugene, I don't want to find ways to filter it out. It happens frequently. I didn't say it's difficult to remove it, I just don't want it there a

Re: (feature change request) remove link-layer generated routes from netstat -r

2006-02-23 Thread John Baldwin
.1 link#5 UC 00 fxp0 > > > [EMAIL PROTECTED]:0:/usr/home/src/FreeBSD-6/src/usr.bin/netstat# > > > > > > > > > The attachment patch ("cvs diff -u -rHEAD route.c" generated) prints > > > link-layer generat

Re: (feature change request) remove link-layer generated routes from netstat -r

2006-02-23 Thread Nikos Vassiliadis
erated routes when -a is specified and ignores them > > the rest of the time. > > > > Thoughts? POLA violation? > > Just use: > > netstat -rn | awk '$3 !~ /L/ { print }' That's exactly the point Eugene, I don't want to find ways to filter it out. It h

(feature change request) remove link-layer generated routes from netstat -r

2006-02-22 Thread Nikos Vassiliadis
Hi, netstat -r prints link-layer generated routes and many times the output becomes somehow obscure. For example: [EMAIL PROTECTED]:0:/usr/home/src/FreeBSD-6/src/usr.bin/netstat# netstat -ranfinet Routing tables Internet: DestinationGatewayFlagsRefs Use Netif Expir

Re: An idea of remove MUTEX_WAKE_ALL

2006-01-03 Thread Scott Long
Daniel Eischen wrote: On Tue, 3 Jan 2006, Scott Long wrote: for a bit if the current lock owner is running on another CPU? Do we currently do that? (*) No, I am not referring to spin mutexes. Adaptive mutexes are enabled by default and have been for at least a year. Ahh, then that's wh

Re: An idea of remove MUTEX_WAKE_ALL

2006-01-03 Thread Daniel Eischen
On Tue, 3 Jan 2006, Scott Long wrote: > > for a bit if the current lock owner is running on another CPU? > > Do we currently do that? > > > > (*) No, I am not referring to spin mutexes. > > > > Adaptive mutexes are enabled by default and have been for at least a > year. Ahh, then that's what they

Re: An idea of remove MUTEX_WAKE_ALL

2006-01-03 Thread Scott Long
Daniel Eischen wrote: On Tue, 3 Jan 2006, John Baldwin wrote: On Sunday 01 January 2006 02:21 am, prime wrote: Hi hackers, I have an idea about remove the kernel option MUTEX_WAKE_ALL. When we unlock the mutex(in _mtx_unlock_sleep),we can directly give the lock to the first thread

Re: An idea of remove MUTEX_WAKE_ALL

2006-01-03 Thread Daniel Eischen
On Tue, 3 Jan 2006, John Baldwin wrote: > On Sunday 01 January 2006 02:21 am, prime wrote: > > Hi hackers, > >I have an idea about remove the kernel option MUTEX_WAKE_ALL. > >When we unlock the mutex(in _mtx_unlock_sleep),we can directly > > give the lock to

Re: An idea of remove MUTEX_WAKE_ALL

2006-01-03 Thread John Baldwin
On Sunday 01 January 2006 02:21 am, prime wrote: > Hi hackers, >I have an idea about remove the kernel option MUTEX_WAKE_ALL. >When we unlock the mutex(in _mtx_unlock_sleep),we can directly > give the lock to the first thread waiting on the turnstile.And a > thread gets the

An idea of remove MUTEX_WAKE_ALL

2005-12-31 Thread prime
Hi hackers, I have an idea about remove the kernel option MUTEX_WAKE_ALL. When we unlock the mutex(in _mtx_unlock_sleep),we can directly give the lock to the first thread waiting on the turnstile.And a thread gets the mutex after he returned from turnstile_wait so he can simply jump out the

locking of a subsystem (remove of spl calls)

2005-10-21 Thread Gordon Bergling
Hi, I am about to write a special display driver, which should be something like a framebuffer device, in terms of FreeBSD. I whould like to make this driver from at the beginning MPSAFE, but I am not sure that this is possible. Looking at some devices in sys/dev/fb and sys/dev/syscons there are

Re: Remove Heimdal Kerberos from my FreeBSD

2005-07-18 Thread Joerg Sonnenberger
On Mon, Jul 18, 2005 at 09:44:35PM +0930, Daniel O'Connor wrote: > There is always a trade off but it seems most people don't think Heimdal is > insecure enough to disable by default. (Has it has any bugs that have been > exploitable in an unused configuration recently? I don't believe so). In t

Re: Remove Heimdal Kerberos from my FreeBSD

2005-07-18 Thread Robert Watson
On Mon, 18 Jul 2005, Vladimir Terziev wrote: The problem is that third party software is a part of basic software, which functionality includes authentication and authorization for host access. A bug in this third party software could become a reason for a host compromise even the functional

Re: Remove Heimdal Kerberos from my FreeBSD

2005-07-18 Thread Daniel O'Connor
On Monday 18 July 2005 21:14, Vladimir Terziev wrote: >The problem is that third party software is a part of basic software, > which functionality includes authentication and authorization for host > access. A bug in this third party software could become a reason for a host > compromise even t

Re: Remove Heimdal Kerberos from my FreeBSD

2005-07-18 Thread Vladimir Terziev
The problem is that third party software is a part of basic software, which functionality includes authentication and authorization for host access. A bug in this third party software could become a reason for a host compromise even the functionality of the third party software in not used (

Re: Remove Heimdal Kerberos from my FreeBSD

2005-07-18 Thread Daniel O'Connor
On Monday 18 July 2005 18:03, Vladimir Terziev wrote: >your right about useless things, but making basic software to depend on > these useless things is a very bad idea. I'm sure, telnet & ssh are the > most used applications on any UNIX system, so they must not depend on any > third party soft

Re: Remove Heimdal Kerberos from my FreeBSD

2005-07-18 Thread Eric Masson
Vladimir Terziev <[EMAIL PROTECTED]> writes: Hi. > i'm sure most of the FreeBSD users do not need kerberos for > authnetication. Could you give me your fortune teller crystal ball brand ? > If someone needs telnet+kerberos, then ok, such meta port could be > created and this person will

Re: Remove Heimdal Kerberos from my FreeBSD

2005-07-18 Thread Vladimir Terziev
nctionality. One wouldn't use > it, for other > person it is necessary. Again, for generic system it is normal to have > extra functionality. > If we remove it, many persons would suffer from that. If you do not need > it, just do > not use it. And all one would be happy.

Re: Remove Heimdal Kerberos from my FreeBSD

2005-07-18 Thread Roman Kurakin
on it is necessary. Again, for generic system it is normal to have extra functionality. If we remove it, many persons would suffer from that. If you do not need it, just do not use it. And all one would be happy. It is not a problem to depend on kerberos till it isn't removed. The worse t

Re: Remove Heimdal Kerberos from my FreeBSD

2005-07-18 Thread Vladimir Terziev
; rik > > > Vladimir > > > > > >On Sun, 17 Jul 2005 22:02:04 +0930 > >"Daniel O'Connor" <[EMAIL PROTECTED]> wrote: > > > > > > > >>On Sunday 17 July 2005 02:26, Dominic Marks wrote: > >> &

Re: Remove Heimdal Kerberos from my FreeBSD

2005-07-18 Thread Roman Kurakin
inic Marks wrote: In /etc/make.conf put NO_KERBEROS=yes Then build a new world. That should do the trick. This won't remove it, it will just not update it. You would have to delete it by hand. Telnet/ssh/etc don't have to depend on Kerberos and if you use the above optio

Re: Remove Heimdal Kerberos from my FreeBSD

2005-07-17 Thread Daniel O'Connor
On Sunday 17 July 2005 22:16, Vladimir Terziev wrote: > Yes, i deleted it along with all libs related to it. This caused > telnet/ssh/etc to stop working. So i rebuilt the world with NO_KERBEROS=yes > and now all is like a charm -- no Heimdal Kerberos and no software > depending on it. I think

Re: Remove Heimdal Kerberos from my FreeBSD

2005-07-17 Thread Vladimir Terziev
inic Marks wrote: > > In /etc/make.conf put > > > > NO_KERBEROS=yes > > > > Then build a new world. That should do the trick. > > This won't remove it, it will just not update it. > You would have to delete it by hand. > > Telnet/ssh/etc don't h

Re: Remove Heimdal Kerberos from my FreeBSD

2005-07-17 Thread Daniel O'Connor
On Sunday 17 July 2005 02:26, Dominic Marks wrote: > In /etc/make.conf put > > NO_KERBEROS=yes > > Then build a new world. That should do the trick. This won't remove it, it will just not update it. You would have to delete it by hand. Telnet/ssh/etc don't have to depe

Re: Remove Heimdal Kerberos from my FreeBSD

2005-07-17 Thread Dominic Marks
On Saturday 16 July 2005 17:43, Vladimir Terziev wrote: > Hi, > > i've just installed a fresh FreeBSD 5.4 on my PC i saw i have > Heimdal Kerberos installed on it. I don't want Heimdal Kerberos on my > syetem! Could someone point me to a easy way to remove it a

Re: Remove Heimdal Kerberos from my FreeBSD

2005-07-16 Thread Vladimir Terziev
Vladimir Terziev wrote: > > Hi, > > > > i've just installed a fresh FreeBSD 5.4 on my PC i saw i have > > Heimdal Kerberos installed on it. I don't want Heimdal Kerberos on my > > syetem! Could someone point me to a easy way to remove it and rebuild >

Remove Heimdal Kerberos from my FreeBSD

2005-07-16 Thread Vladimir Terziev
Hi, i've just installed a fresh FreeBSD 5.4 on my PC i saw i have Heimdal Kerberos installed on it. I don't want Heimdal Kerberos on my syetem! Could someone point me to a easy way to remove it and rebuild all software (telnet, ssh, etc) which dep

  1   2   >