Re: sys/sys/param.h: 'main' instead of 'Master'?

2021-04-19 Thread Chargen
ney W. Grimes < > > freebsd-...@gndrsh.dnsmgr.net> wrote: > > > > > >  > > >> > > >> n Fri, Apr 16, 2021 at 11:36 AM Rainer Hurling > wrote: > > >>> > > >>> While viewing sys/sys/param.h I noticed that the comme

Re: sys/sys/param.h: 'main' instead of 'Master'?

2021-04-19 Thread Warner Losh
On Mon, Apr 19, 2021 at 7:12 AM Rodney W. Grimes < freebsd-...@gndrsh.dnsmgr.net> wrote: > > On Sun, Apr 18, 2021 at 07:07:44PM -0400, Ed Maste wrote: > > > On Fri, 16 Apr 2021 at 16:22, Warner Losh wrote: > > > > > > > > > > As well as "Origin". > > > > > > > > > > (Single) Source of Truth, mayb

Re: sys/sys/param.h: 'main' instead of 'Master'?

2021-04-19 Thread Rodney W. Grimes
> On Sun, Apr 18, 2021 at 07:07:44PM -0400, Ed Maste wrote: > > On Fri, 16 Apr 2021 at 16:22, Warner Losh wrote: > > > > > > > > As well as "Origin". > > > > > > > > (Single) Source of Truth, maybe? > > > > > > s/Master, p/P/ also makes sense. > > > > IMO instead of lightly rewording the existing

Re: sys/sys/param.h: 'main' instead of 'Master'?

2021-04-19 Thread Baptiste Daroussin
On Sun, Apr 18, 2021 at 07:07:44PM -0400, Ed Maste wrote: > On Fri, 16 Apr 2021 at 16:22, Warner Losh wrote: > > > > > > As well as "Origin". > > > > > > (Single) Source of Truth, maybe? > > > > s/Master, p/P/ also makes sense. > > IMO instead of lightly rewording the existing comment we could ju

Re: sys/sys/param.h: 'main' instead of 'Master'?

2021-04-18 Thread Ed Maste
On Fri, 16 Apr 2021 at 16:22, Warner Losh wrote: > > > > As well as "Origin". > > > > (Single) Source of Truth, maybe? > > s/Master, p/P/ also makes sense. IMO instead of lightly rewording the existing comment we could just remove it, it doesn't really add any clarity. Instead we ought to add an

Re: sys/sys/param.h: 'main' instead of 'Master'?

2021-04-16 Thread Warner Losh
On Fri, Apr 16, 2021 at 12:20 PM Michael Gmelin wrote: > > > > On 16. Apr 2021, at 19:29, Rodney W. Grimes < > freebsd-...@gndrsh.dnsmgr.net> wrote: > > > >  > >> > >> n Fri, Apr 16, 2021 at 11:36 AM Rainer Hurling wrote: > >>> &g

Re: sys/sys/param.h: 'main' instead of 'Master'?

2021-04-16 Thread Michael Gmelin
> On 16. Apr 2021, at 19:29, Rodney W. Grimes > wrote: > >  >> >> n Fri, Apr 16, 2021 at 11:36 AM Rainer Hurling wrote: >>> >>> While viewing sys/sys/param.h I noticed that the comment of the >>> definition of __FreeBSD_version is pro

Re: sys/sys/param.h: 'main' instead of 'Master'?

2021-04-16 Thread Rodney W. Grimes
> n Fri, Apr 16, 2021 at 11:36 AM Rainer Hurling wrote: > > > > While viewing sys/sys/param.h I noticed that the comment of the > > definition of __FreeBSD_version is probably out of date. > > > > Since the switch to Git, doesn't it have to be 'main'

Re: sys/sys/param.h: 'main' instead of 'Master'?

2021-04-16 Thread Rainer Hurling
Am 16.04.21 um 18:38 schrieb Kyle Evans: > n Fri, Apr 16, 2021 at 11:36 AM Rainer Hurling wrote: >> >> While viewing sys/sys/param.h I noticed that the comment of the >> definition of __FreeBSD_version is probably out of date. >> >> Since the switch to Git, doesn&

Re: sys/sys/param.h: 'main' instead of 'Master'?

2021-04-16 Thread Kyle Evans
n Fri, Apr 16, 2021 at 11:36 AM Rainer Hurling wrote: > > While viewing sys/sys/param.h I noticed that the comment of the > definition of __FreeBSD_version is probably out of date. > > Since the switch to Git, doesn't it have to be 'main' instead of 'master

sys/sys/param.h: 'main' instead of 'Master'?

2021-04-16 Thread Rainer Hurling
While viewing sys/sys/param.h I noticed that the comment of the definition of __FreeBSD_version is probably out of date. Since the switch to Git, doesn't it have to be 'main' instead of 'master'? #cd /usr/src #diff -urN sys/sys/param.h.orig sys/sys/param.h | colordiff

Re: head -r355027 context, poudiere jail constructions with the likes of -a arm64.aarch64 -x : awk: can't open file /sys/param.h

2019-12-07 Thread Mark Millard
[In part this note shows that the issue is not specific to cross builds: -a arm64.aarch64 is not essential. But it also shows just where the /sys/param.h comes from.] On 2019-Nov-24, at 15:22, Mark Millard wrote: > On 2019-Nov-24, at 15:11, Ben Woods wrote: > >> On Sun, 24 Nov 201

Re: head -r355027 context, poudiere jail constructions with the likes of -a arm64.aarch64 -x : awk: can't open file /sys/param.h

2019-11-24 Thread Mark Millard
On 2019-Nov-24, at 15:11, Ben Woods wrote: > On Sun, 24 Nov 2019 at 1:27 pm, Mark Millard wrote: > My poudiere jail constructions with the likes of -a arm64.aarch64 -x are > all getting: > > awk: can't open file /sys/param.h > source line number 1 > > Hi M

Re: head -r355027 context, poudiere jail constructions with the likes of -a arm64.aarch64 -x : awk: can't open file /sys/param.h

2019-11-24 Thread Ben Woods
On Sun, 24 Nov 2019 at 1:27 pm, Mark Millard wrote: > My poudiere jail constructions with the likes of -a arm64.aarch64 -x are > all getting: > > awk: can't open file /sys/param.h > source line number 1 Hi Mark, I have been getting this same error on amd64 for some

head -r355027 context, poudiere jail constructions with the likes of -a arm64.aarch64 -x : awk: can't open file /sys/param.h

2019-11-23 Thread Mark Millard
My poudiere jail constructions with the likes of -a arm64.aarch64 -x are all getting: awk: can't open file /sys/param.h source line number 1 If /sys is supposed to be something like: # ls -ld /sys lrwxr-xr-x 1 root wheel 11 May 21 2018 /sys -> usr/src/sys then the path would a

Re: adding extern maxbcachebuf to param.h

2017-06-18 Thread Konstantin Belousov
On Sun, Jun 18, 2017 at 12:36:59PM +, Rick Macklem wrote: > My recent commit (r320062) broke the arm build when it added > extern int maxbcachebuf; > to sys/param.h. Although I don't understand the actual failure, I believe > it is caused by arm/arm/elf_note.S including param

adding extern maxbcachebuf to param.h

2017-06-18 Thread Rick Macklem
My recent commit (r320062) broke the arm build when it added extern int maxbcachebuf; to sys/param.h. Although I don't understand the actual failure, I believe it is caused by arm/arm/elf_note.S including param.h and then using the ELFNOTE() macro. As a temporary fix, I have committed r3

Re: installincludes, bsd.incs.mk and param.h

2014-10-16 Thread Harald Schmalzbauer
re I had worked arround it defferently, nonetheless I'm not happy with reverting to the old behaviour. Since /usr/include gets populated regardless if "WITHOUT_TOOLCHAIN=true" was set in src.conf, I think it's a good idea to have the one param.h also installed, regardless of the option. Pl

Re: installincludes, bsd.incs.mk and param.h

2014-10-14 Thread Ian Lepore
the hint from where include/Makefile gets conditionally > (MK_TOOLCCHAIN!=no) included ... ?!? Somwhere it start's recursing the > SUBDIRs, and I guess every binary calls installincludes: from it's > directory (which works since bsd.lib.mk and bsd.prog.mk include > bsd.incs.mk),

Re: installincludes, bsd.incs.mk and param.h

2014-10-14 Thread Harald Schmalzbauer
guess every binary calls installincludes: from it's directory (which works since bsd.lib.mk and bsd.prog.mk include bsd.incs.mk), but I can't find at what SUBDIR param.h is involved. Thanks, -Harry signature.asc Description: OpenPGP digital signature

Re: installincludes, bsd.incs.mk and param.h

2014-10-14 Thread Ian Lepore
On Tue, 2014-10-14 at 17:24 +0200, Harald Schmalzbauer wrote: > Bezüglich David Wolfskill's Nachricht vom 14.10.2014 16:52 (localtime): > > On Tue, Oct 14, 2014 at 04:42:57PM +0200, Harald Schmalzbauer wrote: > >> Hello, > >> > >> since bsd.port.mk insinst

Re: installincludes, bsd.incs.mk and param.h

2014-10-14 Thread Harald Schmalzbauer
Bezüglich David Wolfskill's Nachricht vom 14.10.2014 16:52 (localtime): > On Tue, Oct 14, 2014 at 04:42:57PM +0200, Harald Schmalzbauer wrote: >> Hello, >> >> since bsd.port.mk insinsts on param.h, I have inconveniences on my >> production systems which were i

Re: installincludes, bsd.incs.mk and param.h

2014-10-14 Thread David Wolfskill
On Tue, Oct 14, 2014 at 04:42:57PM +0200, Harald Schmalzbauer wrote: > Hello, > > since bsd.port.mk insinsts on param.h, I have inconveniences on my > production systems which were installed with "WITHOUT_TOOLCHAIN=true" in > src.conf (resulting in MK_TOOLCHAIN=no). >

installincludes, bsd.incs.mk and param.h

2014-10-14 Thread Harald Schmalzbauer
Hello, since bsd.port.mk insinsts on param.h, I have inconveniences on my production systems which were installed with "WITHOUT_TOOLCHAIN=true" in src.conf (resulting in MK_TOOLCHAIN=no). My first attempt was the following patch: --- share/mk/bsd.incs.mk.orig 2014-10-14 16:35:53

Re: cvs commit: src/etc rc rc.shutdown rc.subr src/etc/rc.d localpkg src/sys/sys param.h

2011-11-14 Thread Andre Albsmeier
Yes, this is an old mail I am replying to ;-) On Fri, 02-Dec-2005 at 18:42:37 -0800, Doug Barton wrote: > Andrey Chernov wrote: > > On Fri, Dec 02, 2005 at 06:16:48PM -0800, Doug Barton wrote: > >>> Do you mean that scripts without .sh runs in > >>> the subshell and not damage main shell? > >> Y

Re: param.h

2003-03-15 Thread David O'Brien
> > Are you trying to compile the -stable version of gcc? We make significant > > modifications to integrate it within our environment. I would not at all > > be suprised if the -stable version of gcc doesn't build on -current. ... > > You are aware that there are gcc ports set up to configure th

Re: param.h

2003-03-14 Thread Steve Kargl
On Fri, Mar 14, 2003 at 07:31:02PM -0800, Peter Wemm wrote: > If you're going to try and > use the -stable compiler on -current, you'll have to stub this out. You can use a 4.x compiler on -current in chroot or jail environment. I haven't tried to build gcc 2.9.x in -current. -- Steve To Unsub

Re: param.h

2003-03-14 Thread Rhett Monteg Hollander
Well, I was able to build it on -CURRENT, along with binutils and other fine software from -STABLE tree. The reason was that in several cases GCC 3.2.1 proved to be significantly slower than 2.95.4 (I mean regular integer\floating-point operations, MMX\SSE\3DNow! is a whole different story). I repl

Re: param.h

2003-03-14 Thread Peter Wemm
Rhett Monteg Hollander wrote: > Hello gentlemen, > > the question is, why param.h (v1.65) that comes with 5.0 > doesn't define OBJFORMAT_NAMES and OBJFORMAT_DEFAULT, but > v1.54 does? These are required by GCC 2.95.4 at compile-time > (pulled from -STABLE). It may look l

param.h

2003-03-14 Thread Rhett Monteg Hollander
Hello gentlemen, the question is, why param.h (v1.65) that comes with 5.0 doesn't define OBJFORMAT_NAMES and OBJFORMAT_DEFAULT, but v1.54 does? These are required by GCC 2.95.4 at compile-time (pulled from -STABLE). It may look like someone had decided that GCC2 is of no use in -CU

Re: 'machine/param.h' required for 'sys/socket.h'

2000-04-01 Thread Yoshinobu Inoue
CMSG_LEN(l) (ALIGN(sizeof(struct cmsghdr)) + (l)) +#defineCMSG_SPACE(l) (_ALIGN(sizeof(struct cmsghdr)) + _ALIGN(l)) +#defineCMSG_LEN(l) (_ALIGN(sizeof(struct cmsghdr)) + (l)) /* "Socket"-level control message types: */ #de

Re: 'machine/param.h' required for 'sys/socket.h'

2000-03-29 Thread Bruce Evans
On Wed, 29 Mar 2000, Yoshinobu Inoue wrote: > > > sys/socket.h: > > > #ifdef _NO_NAME_SPACE_POLLUTION > > > #include > > > #else > > > #define _NO_NAME_SPACE_POLLUTION > > > #include > > > #undef _NO_NAME_SPACE_POLLUTION > > > #endif > > > > I like this for a quick fix. Only define _ALIGN()

Re: 'machine/param.h' required for 'sys/socket.h'

2000-03-28 Thread Yoshinobu Inoue
8 12:02:12 @@ -37,6 +37,14 @@ #ifndef _SYS_SOCKET_H_ #define_SYS_SOCKET_H_ +#ifdef _NO_NAMESPACE_POLLUTION +#include +#else +#define_NO_NAMESPACE_POLLUTION +#include +#undef _NO_NAMESPACE_POLLUTION +#endif + /* * Definitions related to sockets: type

Re: 'machine/param.h' required for 'sys/socket.h'

2000-03-26 Thread Bruce Evans
On Sun, 26 Mar 2000, Yoshinobu Inoue wrote: > > > OK, then how about creating machine/align.h? > > > > That approach in general would give too many headers. > Then, how about defining a macro which specifies name space > polluted part, for short term solution. >

Re: 'machine/param.h' required for 'sys/socket.h'

2000-03-25 Thread Yoshinobu Inoue
d headers then export > precisely the names specified by the applicable standard, if any. Then, how about defining a macro which specifies name space polluted part, for short term solution. machine/param.h: #ifdef _NO_NAME_SPACE_POLLUTION #define _ALIGN(x) .. #else #endif sys/socket.h:

Re: 'machine/param.h' required for 'sys/socket.h'

2000-03-25 Thread Bruce Evans
On Sat, 25 Mar 2000, Yoshinobu Inoue wrote: > > Instead, CMSG* should use _ALIGN() and _ALIGN() should be implemented > > somewhere that doesn't add any namespace pollution. We currently > > use for things like this, but it is already too > > overloaded. > OK, then how about creating machine/a

Re: 'machine/param.h' required for 'sys/socket.h'

2000-03-25 Thread Yoshinobu Inoue
> > So I think machine/param.h should be included from > > sys/socket.h for more portability. > > can't be included in any standard header > (except in ) because it gives massive, undocumented > namespace pollution. The macro `MACHINE' is especially likely

Re: 'machine/param.h' required for 'sys/socket.h'

2000-03-25 Thread Bruce Evans
et.h as an include file. > >The old BSD man pages list both param.h and socket.h. > > And, from `man sendmsg` on FreeBSD, only, > > >SYNOPSIS > > #include > > #include > > are required. Same in the not-so-old BSD man pages (Lite1). > So I thin

Re: 'machine/param.h' required for 'sys/socket.h'

2000-03-25 Thread Yoshinobu Inoue
man pages for sendmsg() >only list socket.h as an include file. >The old BSD man pages list both param.h and socket.h. And, from `man sendmsg` on FreeBSD, only, >SYNOPSIS > #include > #include are required. So I think machine/param.h should be included from sys/so

Re: 'machine/param.h' required for 'sys/socket.h'

2000-03-21 Thread nnd
In <[EMAIL PROTECTED]> Bruce A. Mah <[EMAIL PROTECTED]> wrote: > --==_Exmh_789141986P > Content-Type: text/plain; charset=us-ascii > > If memory serves me right, Yoshinobu Inoue wrote: >> > > I feel requesting inclusion of machine/param.h for any apps >&

Re: 'machine/param.h' required for 'sys/socket.h'

2000-03-21 Thread Bruce A. Mah
If memory serves me right, Yoshinobu Inoue wrote: > > > I feel requesting inclusion of machine/param.h for any apps > > > which use socket is better. But if there are any other smarter > > > solution, please let me know and I'll appreciate it much. >

Re: 'machine/param.h' required for 'sys/socket.h'

2000-03-21 Thread Yoshinobu Inoue
> > I feel requesting inclusion of machine/param.h for any apps > > which use socket is better. But if there are any other smarter > > solution, please let me know and I'll appreciate it much. > > should never be included by applications since > it is an imp

Re: 'machine/param.h' required for 'sys/socket.h'

2000-03-21 Thread Bruce Evans
On Wed, 22 Mar 2000, Yoshinobu Inoue wrote: > I feel requesting inclusion of machine/param.h for any apps > which use socket is better. But if there are any other smarter > solution, please let me know and I'll appreciate it much. should never be included by applications

Re: 'machine/param.h' required for 'sys/socket.h'

2000-03-21 Thread Bruce A. Mah
If memory serves me right, Yoshinobu Inoue wrote: > > > 'sys/scocket.h' header file start using ALIGN macro > > defined in 'machine/param.h' header file while the man page > > for "socket" only mentioned 'sys/types.h' as the prer

Re: 'machine/param.h' required for 'sys/socket.h'

2000-03-21 Thread Yoshinobu Inoue
Hello, > 'sys/scocket.h' header file start using ALIGN macro > defined in 'machine/param.h' header file while the man page > for "socket" only mentioned 'sys/types.h' as the prerequisite > for 'sys/socket.h'. > > A

'machine/param.h' required for 'sys/socket.h'

2000-03-21 Thread Nickolay Dudorov
/lib/libc/net/rthdr.c > 1.38 +8 -13 src/sys/sys/socket.h > 1.55 +4 -5 src/sys/kern/uipc_socket2.c > 1.12 +3 -3 src/sys/netinet6/ip6_output.c > 1.21 +13 -15src/usr.bin/telnet/commands.c > 1.52 +2 -2 src/sbin/ping/ping.c 'sy