Re: Building 5.0 on 4.5 Broken in xlint?

2002-03-21 Thread Ruslan Ermilov

I have fixed this and these by making lint(1) a cross-tool.

On Wed, Mar 20, 2002 at 05:57:57PM -0800, Crist J. Clark wrote:
 Looks like the correct lib hints aren't being used in the buildworld?
 Am I the only one? I'm setting MAKEOBJDIRPREFIX (properly, in the
 environment).
 
 === usr.bin/xlint/llib
 /c/home/obj/c/home/src/usr.bin/xlint/llib/../xlint/xlint -cghapbx -L 
/usr/libdata/lint -Cposix /c/home/src/usr.bin/xlint/llib/llib-lposix
 /c/home/obj/c/home/src/usr.bin/xlint/llib/../xlint/xlint -cghapbx -L 
/usr/libdata/lint -Cstdc /c/home/src/usr.bin/xlint/llib/llib-lstdc
 /usr/libexec/ld-elf.so.1: Shared object libc.so.5 not found
 /usr/libexec/ld-elf.so.1: Shared object libc.so.5 not found
 *** Error code 1
 *** Error code 1
 2 errors
 *** Error code 2
 1 error
 *** Error code 2
 1 error
 *** Error code 2
 1 error
 *** Error code 2
 1 error
 *** Error code 2
 1 error

-- 
Ruslan Ermilov  Sysadmin and DBA,
[EMAIL PROTECTED]   Sunbay Software AG,
[EMAIL PROTECTED]  FreeBSD committer,
+380.652.512.251Simferopol, Ukraine

http://www.FreeBSD.org  The Power To Serve
http://www.oracle.com   Enabling The Information Age

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: Building 5.0 on 4.5 Broken in xlint?

2002-03-21 Thread Mark Murray

 I have fixed this and these by making lint(1) a cross-tool.

Excellent!

M
-- 
o   Mark Murray
\_
O.\_Warning: this .sig is umop ap!sdn

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Rev. 1.82 of kern_linker.c disables module loads...

2002-03-21 Thread Harti Brandt


Hello,

This revision of kern_linker.c entirly disables module loads from /etc/rc
during boot:

revision 1.82
date: 2002/03/20 16:03:42;  author: arr;  state: Exp;  lines: +10 -6
- Change a check of securelevel to securelevel_gt() call in order to help
  against users within a jail attempting to load kernel modules.
- Add a check of securelevel_gt() to vfs_mount() in order to chop some
  low hanging fruit for the repair of securelevel checking of linking and
  unlinking files from within jails.  There is more to be done here.

Reviewed by: rwatson

Regards,
harti
-- 
harti brandt, http://www.fokus.gmd.de/research/cc/cats/employees/hartmut.brandt/private
  [EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: Rev. 1.82 of kern_linker.c disables module loads...

2002-03-21 Thread Thomas Quinot

Le 2002-03-21, Harti Brandt écrivait :

 This revision of kern_linker.c entirly disables module loads from /etc/rc
 during boot:

Or even after boot. Confirmed here: kldload always returns 'Operation
not permitted'.

Thomas.

-- 
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: Rev. 1.82 of kern_linker.c disables module loads...

2002-03-21 Thread Michael D. Harnois

On Thu, 2002-03-21 at 07:02, Thomas Quinot wrote:

 Le 2002-03-21, Harti Brandt écrivait :
 
  This revision of kern_linker.c entirly disables module loads from /etc/rc
  during boot:
 
 Or even after boot. Confirmed here: kldload always returns 'Operation
 not permitted'.

Here as well.
 
-- 
Michael D. Harnois   bilocational bivocational
Pastor, Redeemer Lutheran ChurchWashburn, Iowa
1L, UST School of Law   Minneapolis, Minnesota
 Hell is full of good meanings and wishings. 
 -- George Herbert


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: i386/boot2.c patches

2002-03-21 Thread John Baldwin


On 20-Mar-2002 Thomas Quinot wrote:
 Le 2002-03-20, John Baldwin écrivait :
 
 Looks mostly ok to me.  Not entirely sure about the autoboot changes
 as it looks weird to load(kname) right before you change what kname
 is.  I think the logic must somehow be wrong there.
 
 But this is what is currently in the code (as I mentioned in the PR,
 36015 is strictly a code clarification, with no functional change).
 The load() function in boot2 ends with an exec() of the loaded binary.
 It returns only if it has failed. The purpose of replacing kname
 after load() has returned is to try to load /boot/kernel if we have
 failed to load /boot/loader.

I was just saying it looked weird in the old code as well.  Your
explanation helps explain why though.

-- 

John Baldwin [EMAIL PROTECTED]http://www.FreeBSD.org/~jhb/
Power Users Use the Power to Serve!  -  http://www.FreeBSD.org/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: Rev. 1.82 of kern_linker.c disables module loads...

2002-03-21 Thread Kris Kennaway

On Thu, Mar 21, 2002 at 08:44:48AM -0600, Michael D. Harnois wrote:
 On Thu, 2002-03-21 at 07:02, Thomas Quinot wrote:
 
  Le 2002-03-21, Harti Brandt écrivait :
  
   This revision of kern_linker.c entirly disables module loads from /etc/rc
   during boot:
  
  Or even after boot. Confirmed here: kldload always returns 'Operation
  not permitted'.
 
 Here as well.

At least it's more secure this way.

Kris



msg36414/pgp0.pgp
Description: PGP signature


Re: 4.5-Current Update

2002-03-21 Thread Kris Kennaway

On Thu, Mar 21, 2002 at 10:42:22AM -0600, Eric Liedtke wrote:

 So I cvsuped last night and did a make buildworld and make buildkernel,
 both of which finished without a problem however when I did a make
 installworld it died right away with the cp command giving usage
 details.

This isn't the correct upgrade procedure.  See the handbook and
UPDATING.

Kris



msg36415/pgp0.pgp
Description: PGP signature


Re: 4.5-Current Update

2002-03-21 Thread Eric Liedtke

Sorry, smoking crack too early in the morning. Thanks for the dope slap ; )
-e

Kris Kennaway wrote:

 On Thu, Mar 21, 2002 at 10:42:22AM -0600, Eric Liedtke wrote:

  So I cvsuped last night and did a make buildworld and make buildkernel,
  both of which finished without a problem however when I did a make
  installworld it died right away with the cp command giving usage
  details.

 This isn't the correct upgrade procedure.  See the handbook and
 UPDATING.

 Kris

   
Part 1.2Type: application/pgp-signature


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



IS YOUR WEB SITE BEING SEEN?

2002-03-21 Thread IMPORTANT MESSAGE



"Is YourWeb Site
Being
SEEN?"
Having
difficulty being found?

Are you at the bottom
of the listings?



YOUR web site may NOT beon
many search engines and could be at the Bottom of their
listings.Theresult could be 
YOU are LOSING new customers who cannot find
you. Can this be changed? Yes!
Regal Telecom
United
States
For ONLY
$119.97

We will submit your
web site to over 350 of the worlds search
engines.
(see full
list of Search Engines at the end of this
document)

We will submit
your site with the most effective
metatagsand keywords.
(See our money back
guarantee)

Our
company has learned what the search engines are looking for and we CAN help you. We look at the top five web sites in
your category and use the same metatags and key words that they
use.

If it works for them it will work for you!


YOUR web site can be

FOUND and
SEEN

For Twelve
Months! Guaranteed!
(See our
testimonials)


Think
about it!
You have a web designer to build your site and a company to host your site,it makes sense to use a company
that specializes in professionally submitting your web
site.


A Shocking
Fact!

Your web site designer and your host are NOT
responsible for getting your web site seen!
Yes, they may submit your site to a few
search engines periodically but tostay on the
TOPof the search engines is an aggressive
business.

Getting onto the search engines and at
thetop of their listings doesn't just
happen.

You have
to be put there!

What
the.Net, The Internet Magazine 8/2000 said:
"You have
your web site designed and have sorted out the maintenance and waiting for the
business to roll in, but there's one small problem No one
knows!"

You need
a professional company to do it!

Your Money
Back
Guarantee!

If
you do not receive confirmation from the search engines thatwe submit your
web site to,we will give you your money back!
Guaranteed!

There is
nothing to lose!
Some testimonials of those that have used

Regal
Telecom
United
States

"This service is my secret weapon. I never believed it was
possible to have such a rapid
response." etvcom.tv


"I have
been truly amazed by the results. I have received enquiries from Austria,
Hawaii, Spain and many different parts of Britain for my international real
estate business. This is directly due to this service. I definitely recommend
it! 
Worth every penny!" keyhomes.net


"We run a Cancer Clinic and it is essential that our web site
is submitted to as many search engines as possible. We are looking forward to
having the capability to do online video conferencing and online diagnosis with
our patients from many parts of the world. It is a real advantage to have the
capabilities that 
Regal Telecom offers."
Mari Posas Cancer
Clinic.

"We never received a single inquiry until we used Regal
Telecom" noniuk.co.uk


To submit your web site all we
need is your web site and e-mail
address.

We will
do the rest!

Once we
have submitted your web site you will receive a dramatic response by e-mail from
search engines around the world confirming that you are listed on
them.

This will
happen every month for the next year!

To Book our Service
Simply
PRESS this



BOOK NOW!
Button and we can beginsubmitting your web site to the worlds search engines
today!

Beready for the response!

Within 24
hours your web site will begin to be submitted to over 350 search engines world
wide and every month
thereafter for the next
year.

The
results will astound you!

Most of
your competition are unaware of the facts below!
This is to YOUR
Advantage!


Web Site
Facts
Remember "The Yellow Pages"
Rule!
A search engine is like an enormous
"yellow pages" with thousands of companies advertising the same
product.Unless you are near the front of the listing your chances of
a customer actually seeing you is remote.
Unlike a
literal yellow pages there is a way to move YOU to the front and also get you on
all of the "Yellow pages" in the world.

What does
it take to be seen on the 
Search
Engines?

Appreciate
the Three Golden Rules
Search engines do not pull up
the web sites at random they use a specific method of search. Those that know
them are the ones at the top, those that do not are buried at the
bottom!
Your web
site must be submitted to the search engines every month otherwise your site
gets pushed off (Its a bit like a Ferris wheel, you get on and then after a
while you are taken off unless you get another ticket and get
back on).
Understand the
importance of Keywords, Metatags, and Titles employed when submitting your site
to the search engines!
Use the
right ones and you go up.

Get it wrong
and you go to the bottom!

Some feel that it is enough to be on the large
search engines. 

Wrong!
The problem is because of their sheer size most
web sites get buried. Having your web site professionally submitted can
boost you up the listings of these larger search engines, so you can be found on
them. Also many people use the smaller search engines and if your site is
professionally submitted your 

Re: Removing CSRG libm?

2002-03-21 Thread Bruce Evans

On Wed, 20 Mar 2002, Steve Kargl wrote:

 On Thu, Mar 21, 2002 at 12:33:45PM +1100, Bruce Evans wrote:

  want the errno support completely removed so that we have a chance
  of declaring math functions as __pure2 unconditionally.  But maybe
  we can't do this anyway, because math functions normally have the
  side effect of setting IEEE exception flags.  Can we do things like
 
  #ifpragma STDC FENV_ACCESS ON
  double sqrt(double);
  #else
  double sqrt(double) __pure2;
  #endif
 
  ?

 I don't know.  I forgot about the libm PR until last
 week when someone else posted about paranoi.c failing
 several tests.  I decided to check into the quality
 of libm and work on improvements.  I still have a lot to
 learn.

The documenation for FENV_ACCESS is clear enough.  We can do things like
this:
- default to FENV_ACCESS OFF
- do optimizations like the above except in those few programs that
  actually understand this stuff and set FENV_ACCESS to ON before they
  use the IEEE flags.
- to work right, FENV_ACCESS ON must somehow turn off many of the
  optimizations related to floating point.  Compilers will need special
  support just to turn off their own optimization.  E.g., constant
  expressions can only be fully computed at compile time if the result
  (including the IEEE flag settings) doesn't depending on the environment.

 I think we'll only be able to add __pure2 on a case
 by case basis.  For example, the POSIX sqrt(3) manpage states

glibc (an old version -- 2.1.3) only uses (the equivalent of) it for
functions like isinf() which are guaranteed not to change the IEEE
flags.

An application wishing to check for error situations should set
errno to zero and call feclearexcept(FE_ALL_EXCEPT) before calling
these functions.  On return, if errno is non-zero or
fetestexcept(FE_INVALID | FE_DIVBYZERO | FE_OVERFLOW |FE_UNDERFLOW)
is non-zero, an error has occurred.

Also, the program must set FENV_ACCESS to ON in relevant parts of the
code if it wishes to test the flags.

Bruce


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



pam_opieaccess breaks world

2002-03-21 Thread Steve Kargl

=== libpam/modules/pam_opieaccess
cc -O -pipe  -I/usr/src/lib/libpam/modules/pam_opieaccess/../../../../contrib/op
enpam/include -I/usr/src/lib/libpam/modules/pam_opieaccess/../../libpam  -c /usr
/src/lib/libpam/modules/pam_opieaccess/pam_opieaccess.c -o pam_opieaccess.o
In file included from /usr/src/lib/libpam/modules/pam_opieaccess/pam_opieaccess.
c:42:
/usr/obj/usr/src/i386/usr/include/opie.h:97: syntax error before `u_int32_t'
*** Error code 1

Stop in /usr/src/lib/libpam/modules/pam_opieaccess.
*** Error code 1


Is there an #include sys/types.h missing in pam_opieaccess.c?

-- 
Steve

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: cvs commit: src/sys/sys acct.h acl.h bio.h buf.h callout.h conf.h cons.h disk.h disklabel.h diskslice.h domain.h errno.h event.h eventhandler.h exec.h fcntl.h file.h filedesc.h imgact.h imgact_aout.h imgact_elf.h inflate.h interrupt.h ioccom.h ipc.h ...

2002-03-21 Thread Nickolay Dudorov

In article [EMAIL PROTECTED]
Alfred Perlstein [EMAIL PROTECTED] wrote:
 alfred  2002/03/19 12:18:46 PST
 
  Modified files:
sys/sys  acct.h acl.h bio.h buf.h callout.h conf.h 
 cons.h disk.h disklabel.h diskslice.h 
 domain.h errno.h event.h eventhandler.h 
 exec.h fcntl.h file.h filedesc.h imgact.h 
 imgact_aout.h imgact_elf.h inflate.h 
 interrupt.h ioccom.h ipc.h jail.h 
 kernel.h kthread.h ktrace.h libkern.h 
 lockf.h lockmgr.h malloc.h md5.h mman.h 
 mount.h msg.h msgbuf.h namei.h param.h 
 poll.h proc.h protosw.h queue.h 
 regression.h resource.h resourcevar.h 
 rtprio.h selinfo.h sem.h shm.h signal.h 
 signalvar.h socket.h socketvar.h 
 soundcard.h stat.h sysctl.h sysent.h 
 syslog.h sysproto.h systm.h termios.h 
 time.h timeb.h timepps.h times.h timetc.h 
 timex.h tty.h types.h uio.h un.h user.h 
 vnode.h wait.h 
  Log:
  Remove __P

At least in the case of 'ioccom.h' this commit breaks
the XFree86-server building in the 'drm/kernel' directory.

The problem is in the '#define ioctl(a,b,c) xf86ioctl(a,b,c)'
which is used by the XFree86 and the __P somehow makes it possible
to build 'xc/programs/Xserver/hw/xfree86/os-support/bsd/drm/xf86drm.c'
and now it stops here.

N.Dudorov


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Job security??

2002-03-21 Thread d3245

Easy 50-80% Return
and here's how.

Learn how you can receive a monthly check for 6, 7, or 8%
a month until your initial investment is paid off...then a
monthly check for 4% for years to come...

We know it sounds impossible, but it's happening today and 
here's where.

In the merchant business-What's that??  You know those little
black boxes where businesses swipe your credit cards!  That's
called P.O.S.  Point of sale technology!  And these numbers are
verifiable.

This multi-trillion dollar industry in which our business will supply
cedit cards, debit cards, check verification, funds transfer, prepaid
cell phone, prepaid phone cards, bill payment and many other services
for the consumer in the retail environment with plenty of growth ahead.

Success P.O.S. will professionally manage and service your business
daily.  Established and proven locations available nationwide.

To find out how you can participate and achieve a monthly income of
between 4% and 8% (50% to 80% yearly) with a relatively small investment
contact us now:

http://61.129.78.70/cl6

Opt-Out Instructions:
[EMAIL PROTECTED]








To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message