Linux-Development-Sys Digest #23, Volume #7       Thu, 5 Aug 99 15:14:04 EDT

Contents:
  Re: Q: setserial with multiport option (Philip Boucherat)
  Re: A message to kernel developers about IPC (Mike Jagdis)
  Re: bzip2 compressed kernel (Bernd Strieder)
  Re: c++ grammer (Andrew I Rothstein)
  Linux API, Libraries (Michael B. Trausch)
  PC Mag gives VisualWorks 4 stars ("Steven Harris")
  unique machine ID for Linux on ix86 platform? (Remco van den Berg)
  Interrupt and timers (Svend Eriksen)
  Re: unique machine ID for Linux on ix86 platform? (Stuart R. Fuller)
  Re: Port 6000 Process (Dr H. T. Leung)
  Re: Linux 2.2.x has problem? (Christopher B. Browne)
  Re: does egcs 1.1.2 produce stable kernels? (Moritz Franosch)
  Re: unique machine ID for Linux on ix86 platform? (Remco van den Berg)
  Re: unique machine ID for Linux on ix86 platform? (Jens Kristian S�gaard)
  Network Driver Ioctl ([EMAIL PROTECTED])
  Re: unique machine ID for Linux on ix86 platform? (Stew Benedict)
  Re: unique machine ID for Linux on ix86 platform? (Juergen Hannappel)
  Re: unique machine ID for Linux on ix86 platform? (Stuart R. Fuller)

----------------------------------------------------------------------------

From: Philip Boucherat <[EMAIL PROTECTED]>
Subject: Re: Q: setserial with multiport option
Date: Thu, 5 Aug 1999 11:55:48 +0100

In article <[EMAIL PROTECTED]>, Holger Petersen <[EMAIL PROTECTED]> writes
>[EMAIL PROTECTED] (bryant h marc) writes:
>
>
>>Hi,
>
>Ho!
>
>>appreciated :
>
>>1. The Serial HOWTO says that only Kernels 2.2 and up
>>support IRQ sharing for serial ports.

See www.TheTcl.com for multiport cards that don't use interrupts. And
ones that do too, if you're so inclined.

Cheers,

Phil
-- 
Philip Boucherat

------------------------------

From: [EMAIL PROTECTED] (Mike Jagdis)
Subject: Re: A message to kernel developers about IPC
Date: 5 Aug 1999 10:44:51 GMT
Reply-To: [EMAIL PROTECTED]

In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] wrote:
>
>Under UNIX systems, this is achieved using a 32 bit integer value known
>as the IPC key..

Yup, that's the way SYSV IPC is defined to work.

>Under NT the unique IPC identifier is an arbituary length (or very long)
>text string. I am not an NT advocate so dont flame me.

That's the way POSIX IPC is defined to work.

>I am prepared to help design/implement such a feature if other
>kernel developers think that it is worth while.

Get "POSIX.4 - Programming in the Real World" by Gallmeister(sp?)
and implement the IPC name space :-).

                                Mike

-- 
    A train stops at a train station, a bus stops at a bus station.
    On my desk I have a work station...
.----------------------------------------------------------------------.
|  Mike Jagdis                  |  Internet:  mailto:[EMAIL PROTECTED]   |
|  Roan Technology Ltd.         |                                      |
|  2 Markham Mews, Broad Street |  Telephone:  +44 118 989 0403        |
|  Wokingham ENGLAND            |  Fax:        +44 118 989 1195        |
`----------------------------------------------------------------------'

------------------------------

From: Bernd Strieder <[EMAIL PROTECTED]>
Subject: Re: bzip2 compressed kernel
Date: Thu, 05 Aug 1999 12:42:13 +0200

Hi

Martin Boening wrote:
> 
> Huh? Just recently I upgraded the kernel on my K6-III based system to
> 2.2.10. The system is based on Slackware 4.0.0. Weirdly enough, it barfed
> at 'make zlilo' with 'kernel too large - try make bzlilo to use bzip' or
> something similar...  even though most everything is modularized. Oh, well,
> so i did a make bzlilo - and what do you know: the kernel is now compressed
> using bzip or at least the bzip algorithm and it boots just fine.
> 
> So, unless its all a forgery, Patrick Volkerdinck HAS created bzip-
> compressed kernel images.

This is a most common misunderstanding, perhaps something worth a FAQ.
make bzdisk doesn�t mean that the bzip-algorithms are used, but that the
new boot-loader leaves Real-Mode with its 1 Meg only memory to use
extended memory to uncompress the kernel. This enables bigger kernels
since more memory is available at this point before booting the kernel.
With the old method the switching to protected mode was done later after
uncompressing, I think within the already booting kernel. I haven�t
experienced decreases of kernel sizes switching from the old to the new
method, only that the new method works with the big kernels >512KB.

Regards,

Bernd Strieder

------------------------------

From: [EMAIL PROTECTED] (Andrew I Rothstein)
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.misc
Subject: Re: c++ grammer
Date: 5 Aug 1999 12:00:40 GMT

There is a C++ grammar, as well as lexical conventions, in Appendix A of 
Bjarne Stroustrup's "The C++ Programming Language" Third Edition, 
published by Addison Wesley. ISBN 0-201-88954-4

There is an SQL grammar in the Lex and Yacc book by Oreilly.

jievis ([EMAIL PROTECTED]) wrote:
: Hi, All:
:    Where can I find the grammer for C++ writen in lex( or flex) and yacc 
: (or bison), 
:    Thanks in advance

: Jievis

: ------------------  Posted via SearchLinux  ------------------
:                   http://www.searchlinux.com

--
Andrew I. Rothstein <[EMAIL PROTECTED]>
PGP: finger -l [EMAIL PROTECTED] ICQ: 4707090
"Can't this wait till I'm old? Can I live while I'm young?" -phish
"Nothing left to do but smile, smile, smile." -gd

------------------------------

From: mtrausch@debian. (Michael B. Trausch)
Subject: Linux API, Libraries
Date: 5 Aug 1999 11:37:32 GMT

Hi,

I am a technican and I work with installing and supporting 
Linux.  I'm looking to learn to program, other than writing
QuickBASIC code and shell scripts.  I would like to learn
C/C++, and in addition to that, the Linux API, and libraries
that are popularly used.

Can someone point me to some good resources for learning
this information?  It is much appreciated.

TIA,
Mike

============================================================
ADK Computers, Walbridge Office           Michael B. Trausch
Chief Linux Technician          Chairman of Linux Department
============================================================
 Hardware, Sales, and Service - Your Quality Linux Provider
                  In the Toledo Metro Area!
============================================================
           We do Mail Order!  E-Mail for details!
============================================================
http://adk.hypermart.net/                 [EMAIL PROTECTED]
============================================================
                            
Linux 2.0.36 i586: 7:34am up 15:52, 6 users, load average: 0.00, 0.11, 0.16

------------------------------

From: "Steven Harris" <[EMAIL PROTECTED]>
Crossposted-To: 
comp.lang.smalltalk,comp.lang.java.programmer,comp.os.linux.misc,linux.redhat.misc
Subject: PC Mag gives VisualWorks 4 stars
Date: Thu, 5 Aug 1999 07:45:21 -0400

This is good PR. PCMag gave VisualWorks 4 stars
and lists it in its best apps for Linux List. Supprised they
don't mention that it is truly cross platform across all UNIX
Windows mac and has been for years.

http://www.zdnet.com/products/stories/reviews/0,4161,401919,00.html




------------------------------

From: [EMAIL PROTECTED] (Remco van den Berg)
Subject: unique machine ID for Linux on ix86 platform?
Date: 5 Aug 1999 12:10:21 GMT

Are there any solutions known for getting an unique system ID from Linux
machine on an ix86 architecture?

I want to distribute some software with some security such that the software
can only run on a certain machine.

Tanks,

- Remco van den Berg
  
============================================================================
Philips Semiconductors B.V.  tel:(+31 40 27)22031   fax:22764   Room: BE-326
mailto:[EMAIL PROTECTED]                  seri: rvdberg@nlsce1

     home Email: [EMAIL PROTECTED]   (preferred for non-commercial mail)
                 
============================================================================
 Microsoft and Lotus Notes free.   Don't send me any Microsoft attachments.
============================================================================

------------------------------

From: Svend Eriksen <[EMAIL PROTECTED]>
Subject: Interrupt and timers
Date: Thu, 05 Aug 1999 16:16:03 +0200

Hello , when you use the timers in Linux.
Can the functions that the timers calls being interrupted again
by another interrupt?
-- 
Svend!

------------------------------

From: [EMAIL PROTECTED] (Stuart R. Fuller)
Subject: Re: unique machine ID for Linux on ix86 platform?
Reply-To: [EMAIL PROTECTED]
Date: Thu, 05 Aug 1999 14:10:03 GMT

Remco van den Berg ([EMAIL PROTECTED]) wrote:
: Are there any solutions known for getting an unique system ID from Linux
: machine on an ix86 architecture?
: 
: I want to distribute some software with some security such that the software
: can only run on a certain machine.

You license the software to run on a specific machine, and have a team of
lawyers to back it up.

Any security scheme of trying to tie software to a specific machine will fail:

        - there is no machine readable "serial number" on the system
        - tying software to an Ethernet address fails when the Ethernet
          address changes (newer faster card, broken card, etc).
        - tying software to an IP address fails when the IP address changes.
        
Besides, define "specific machine".  I can have a box of parts and call it a
specific machine.  But, if I change out all the parts, is it still the same
specific machine?

        Stu

------------------------------

From: [EMAIL PROTECTED] (Dr H. T. Leung)
Crossposted-To: comp.os.linux.development.apps
Subject: Re: Port 6000 Process
Date: 5 Aug 1999 15:13:59 GMT


D*mn. Port 6000 is for X-windows display! If you are running
X-windows/gnome/xdmcp at all, of course you cannot get that port!
Use something else... 

In article <[EMAIL PROTECTED]>, Matthew 
Carl Schumaker <[EMAIL PROTECTED]> writes:
|> Does anybody know a process that uses Port 6000, I was writing an app that
|> used that port and I could never get it, I tried telneting to it and I
|> connect but that was about it.  I'm running RedHat 6.0.  I looked in the
|> services file but there was nothing listed for that port.  I even tried to
|> reboot in case a previous process somehow didn't release it but it was
|> there when I rebooted which leads me to believe that its some sort of
|> system process, however my 2.0.36 machine has that port open.  Its not
|> that important since I can use any other port, Its just a little
|> disconcerning knowing that there is an app running on that port and I have
|> no idea what it is.
|> 
|> Thanks in advance
|> matt
|> 
|> Matthew Carl Schumaker
|> UPAC Lights Administrative Chairperson
|> [EMAIL PROTECTED]
|> veni, vedi, velcro
|> I came, I saw, I stuck around
|> 
-- 
          --------------------------------------------------
"What you don't care cannot hurt you."            Chap. 7a, AMS-NS

------------------------------

From: [EMAIL PROTECTED] (Christopher B. Browne)
Subject: Re: Linux 2.2.x has problem?
Reply-To: [EMAIL PROTECTED]
Date: Thu, 05 Aug 1999 14:50:09 GMT

On Thu, 05 Aug 1999 16:10:05 +0900, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> posted: 
>I heard about that Linux 2.2.x kernels has memory allocation problem. 
>
>Is that true?

As with nearly all pieces of software, there are probably some bugs in
2.2.x kernels.

Can you be more precise about the "memory allocation problem" that
you're thinking about?
-- 
REALITY is an illusion that stays put.
[EMAIL PROTECTED] <http://www.hex.net/~cbbrowne/lsf.html>

------------------------------

From: Moritz Franosch <[EMAIL PROTECTED]>
Subject: Re: does egcs 1.1.2 produce stable kernels?
Date: 05 Aug 1999 17:00:09 +0200



Erik de Castro Lopo <[EMAIL PROTECTED]> writes:

> Arnoud de Geus wrote:
> > Does the egcs 1.1.2 compiler produce stable
> > kernels?

> Only use EGCS for 2.2.0 and later kernels. The problems
> with using EGCS were specific to earlier kernels.

No, there are still problems.

See Linus' notes on Linux 2.2.5 patch at
http://www.kernelnotes.org/kernel/v2.2/0-9.html

Section 'Gnu C' at
http://www.kernelnotes.org/change22.html

I think there are still parts of the kernel that are _known_ to
miscompile with egcs.
So kernels are _more_ stable or it is more likely to get a stable
kernel with gcc 2.7.2.3.


Moritz

------------------------------

From: [EMAIL PROTECTED] (Remco van den Berg)
Subject: Re: unique machine ID for Linux on ix86 platform?
Date: 5 Aug 1999 15:23:40 GMT

On Thu, 05 Aug 1999 14:10:03 GMT, Stuart R. Fuller wrote:
>Remco van den Berg ([EMAIL PROTECTED]) wrote:
>: Are there any solutions known for getting an unique system ID from Linux
>: machine on an ix86 architecture?
>: 
>: I want to distribute some software with some security such that the software
>: can only run on a certain machine.
>
>You license the software to run on a specific machine, and have a team of
>lawyers to back it up.
>
>Any security scheme of trying to tie software to a specific machine will fail:
>
>        - there is no machine readable "serial number" on the system
>        - tying software to an Ethernet address fails when the Ethernet
>          address changes (newer faster card, broken card, etc).
>        - tying software to an IP address fails when the IP address changes.
>        
>
>        Stu

I think the Ethernet MAC address could be an option, but isn't it possible
to change that too?

The problem is that I want to make some software only for internal Philips
usage. The software is confidential. That's why.


-- 
- Remco van den Berg
  
============================================================================
Philips Semiconductors B.V.  tel:(+31 40 27)22031   fax:22764   Room: BE-326
mailto:[EMAIL PROTECTED]                  seri: rvdberg@nlsce1

     home Email: [EMAIL PROTECTED]   (preferred for non-commercial mail)
                 
============================================================================
 Microsoft and Lotus Notes free.   Don't send me any Microsoft attachments.
============================================================================

------------------------------

From: [EMAIL PROTECTED] (Jens Kristian S�gaard)
Subject: Re: unique machine ID for Linux on ix86 platform?
Date: 05 Aug 1999 17:36:41 +0200

[EMAIL PROTECTED] (Remco van den Berg) writes:

> >        - tying software to an Ethernet address fails when the Ethernet
> >          address changes (newer faster card, broken card, etc).

> I think the Ethernet MAC address could be an option, but isn't it possible
> to change that too?

He already mentioned MAC-addresses. And yes, on some (more expensive)
NIC's, you can alter the MAC-adress from software.

> The problem is that I want to make some software only for internal Philips
> usage. The software is confidential. That's why.

Mark it confidential? - or haven't you got trust in the users?

Or you could consider to have the software run on a server, to which
will connect to use the program. This ensures, that the software will
not be duplicated...


-- 
Jens Kristian S�gaard,
[EMAIL PROTECTED] -- http://soegaard.hypermart.net/
S�ger du noget? -- http://www.google.net/
 -- At fejle er menneskeligt; totalt sammenbrud kr�ver en computer

------------------------------

From: [EMAIL PROTECTED]
Subject: Network Driver Ioctl
Date: Thu, 05 Aug 1999 16:08:59 GMT

I am trying to implement ioctls with a network driver.  However I am
confused as to where the driver is.  In order to find the file
descriptor
of  a character devices  one simply uses
file =fopen("dev/foo","r");
fd=fileno(file);

and

ioctl(fd,cmd,arg);


but the network interface doesn't appear on the filesystem.  what do i
do?

mike


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

------------------------------

From: [EMAIL PROTECTED] (Stew Benedict)
Subject: Re: unique machine ID for Linux on ix86 platform?
Date: 5 Aug 1999 16:45:06 GMT
Reply-To: stewb AT earthlink DOT net

Isn't this what the hostid command gives you?  I know I just beta'd some
software that used this.

Stew Benedict

On 05 Aug 1999 17:36:41 +0200, Jens Kristian S�gaard <[EMAIL PROTECTED]> wrote:
>[EMAIL PROTECTED] (Remco van den Berg) writes:
>
>> >        - tying software to an Ethernet address fails when the Ethernet
>> >          address changes (newer faster card, broken card, etc).
>
>> I think the Ethernet MAC address could be an option, but isn't it possible
>> to change that too?
>
>He already mentioned MAC-addresses. And yes, on some (more expensive)
>NIC's, you can alter the MAC-adress from software.
>
>> The problem is that I want to make some software only for internal Philips
>> usage. The software is confidential. That's why.
>
>Mark it confidential? - or haven't you got trust in the users?
>
>Or you could consider to have the software run on a server, to which
>will connect to use the program. This ensures, that the software will
>not be duplicated...
>
>
>-- 
>Jens Kristian S�gaard,
>[EMAIL PROTECTED] -- http://soegaard.hypermart.net/
>S�ger du noget? -- http://www.google.net/
> -- At fejle er menneskeligt; totalt sammenbrud kr�ver en computer


-- 


------------------------------

From: Juergen Hannappel <[EMAIL PROTECTED]>
Subject: Re: unique machine ID for Linux on ix86 platform?
Date: 05 Aug 1999 17:12:05 +0200

[EMAIL PROTECTED] (Stuart R. Fuller) writes:

> Remco van den Berg ([EMAIL PROTECTED]) wrote:
> : Are there any solutions known for getting an unique system ID from Linux
> : machine on an ix86 architecture?
> : 
> : I want to distribute some software with some security such that the software
> : can only run on a certain machine.
> 
> You license the software to run on a specific machine, and have a team of
> lawyers to back it up.
> 
> Any security scheme of trying to tie software to a specific machine will fail:
<snip>
And what happens if someone bouht yuor software, *really* needs it and
the one specific machine breaks?  How long does that take to be fixed?
Switching over to a new machine is a metter of a few minutes, but
getting you to acknowledge the new machine, send out he new
license....

Juregen
-- 
Dr. Juergen Hannappel  Office: W148 Phone: +49 228 73 2447  FAX +49 228 73 7869
mailto:[EMAIL PROTECTED]   Physikalisches Institut der Uni Bonn
http://lisa2.physik.uni-bonn.de/~hannappe   Nussallee 12, D-53115 Bonn, Germany
CERN: Phone: +412276 76461 Fax: 77930 Bat. 892-R-A13 F-01631 CERN CEDEX, France

------------------------------

From: [EMAIL PROTECTED] (Stuart R. Fuller)
Subject: Re: unique machine ID for Linux on ix86 platform?
Reply-To: [EMAIL PROTECTED]
Date: Thu, 05 Aug 1999 18:10:02 GMT

Remco van den Berg ([EMAIL PROTECTED]) wrote:
: On Thu, 05 Aug 1999 14:10:03 GMT, Stuart R. Fuller wrote:
: >Remco van den Berg ([EMAIL PROTECTED]) wrote:
: >: Are there any solutions known for getting an unique system ID from Linux
: >: machine on an ix86 architecture?
: >: 
: >: I want to distribute some software with some security such that the software
: >: can only run on a certain machine.
: >
: >You license the software to run on a specific machine, and have a team of
: >lawyers to back it up.
: >
: >Any security scheme of trying to tie software to a specific machine will fail:
: >
: >        - there is no machine readable "serial number" on the system
: >        - tying software to an Ethernet address fails when the Ethernet
: >          address changes (newer faster card, broken card, etc).
: >        - tying software to an IP address fails when the IP address changes.
: >        
: >
: >        Stu
: 
: I think the Ethernet MAC address could be an option, but isn't it possible
: to change that too?
: 
: The problem is that I want to make some software only for internal Philips
: usage. The software is confidential. That's why.

No, the problem is that you are seeking a technical solution to a
non-technical problem.  The problem is that you are afraid that someone will
attempt to run this software outside of Philips.  The technical solution you
are looking for is easily thwarted by someone who wants to do so.  Ethernet
address can be changed, and your solution now breaks.  Even if there is a
machine readable serial number, they can be changed to be whatever they need
to be.

Again, the problem is non-technical in nature, and will require a
non-technical solution.

        Stu

------------------------------


** FOR YOUR REFERENCE **

The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:

    Internet: [EMAIL PROTECTED]

You can send mail to the entire list (and comp.os.linux.development.system) via:

    Internet: [EMAIL PROTECTED]

Linux may be obtained via one of these FTP sites:
    ftp.funet.fi                                pub/Linux
    tsx-11.mit.edu                              pub/linux
    sunsite.unc.edu                             pub/Linux

End of Linux-Development-System Digest
******************************

Reply via email to