Operating System - HP-UX
1822982 Members
3849 Online
109645 Solutions
New Discussion юеВ

Re: how can i get some hp-unix source code?

 
rationalsky
New Member

how can i get some hp-unix source code?

i saw some company has it , i want some source code about catching file system system call ,how can i get it ?
rationalsky
10 REPLIES 10
Santosh Nair_1
Honored Contributor

Re: how can i get some hp-unix source code?

I'm pretty sure HP guards their source code and it not made for public viewing. However, if you just want to trace system calls, you might want to take a look at the tusc utility (http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/tusc-7.0) which traces the system calls a given process makes.

Also, most of the APIs are well documented in the HPUX man pages.

Hope this helps.

-Santosh
Life is what's happening while you're busy making other plans
Stefan Farrelly
Honored Contributor

Re: how can i get some hp-unix source code?


No chance. HP jealously guard their source code. Sorry.
Im from Palmerston North, New Zealand, but somehow ended up in London...
Edward Alfert_2
Respected Contributor

Re: how can i get some hp-unix source code?

Hey...lets start a rumor that HP-UX is going open-source... maybe hp will start to believe it!...

just wishful thinking...

PA-RISC Linux runs on many hp systems... take a look if you want open source. http://parisc-linux.org/index.html
"Do what you love and you will never work a day in your life." - Confucius
John Poff
Honored Contributor

Re: how can i get some hp-unix source code?

Hello,

You can't get the HP source code. But if you'll post an explanation of what you want to do and why, I'm sure the wizards here can help you figure out how to do it, or why you shouldn't.

JP
Bill McNAMARA_1
Honored Contributor

Re: how can i get some hp-unix source code?

" i saw some company has it "
You'll probably get a reward for reporting it!

I also heard a rumour that microsoft might go open.. some guy from Russia hacked their source!!

Later,
Bill
It works for me (tm)
Bill McNAMARA_1
Honored Contributor

Re: how can i get some hp-unix source code?

you can always try to join the lab engineers team!

;)

Bill
It works for me (tm)
rick jones
Honored Contributor

Re: how can i get some hp-unix source code?

there are indeed likely some companies with HP-UX source licenses. the sorts of things negotiated with lots of lawyers and lots of legalese. HP-UX contains a great deal of third-party intellectual property, which I am sure always makes life interesting for such negotiations and a major issue to be resolved if one wanted to go "open source"
there is no rest for the wicked yet the virtuous have no pillows
John Poff
Honored Contributor

Re: how can i get some hp-unix source code?

"negotiated with lots of lawyers and lots of legalese"...

...and lots of money! ;-)

JP
Christopher Caldwell
Honored Contributor

Re: how can i get some hp-unix source code?

If you're just trying to figure out how things work as opposed to interceding into some HP specific behavior, you might not need their source code ...

Check
ftp://ftp.uu.net/systems/unix/bsd-sources/
to see "how" a lot of BSD style library calls work (HP-UX is a SYS V / BSD hybrid).

Many "HP-UX" things are available in source (BIND, FTP, sendmail, etc.).

Wodisch
Honored Contributor

Re: how can i get some hp-unix source code?

Hello Rationalsky,

you can always go for the Device Driver Development Kit
and read the examples in there. They are "lower kernel"
and your question for "file system calls" is more about
"upper kernel", though.

HTH,
Wodisch