LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 12-07-2023, 03:12 AM   #1
slackuj
Member
 
Registered: Oct 2021
Location: Nepal
Distribution: Debian 11,Slackware
Posts: 41

Rep: Reputation: Disabled
linux/hash.h


Please tell me where does the header file "hash.h" resides in linux(slackware and debian, because I am running slackware on vm from debian).

I have been unable to find it at /usr/include/linux directory!

Thanks
 
Old 12-07-2023, 03:22 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,855

Rep: Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311
do you mean this: https://github.com/torvalds/linux/bl...e/linux/hash.h ?
 
Old 12-07-2023, 03:28 AM   #3
slackuj
Member
 
Registered: Oct 2021
Location: Nepal
Distribution: Debian 11,Slackware
Posts: 41

Original Poster
Rep: Reputation: Disabled
i meant where is this file located inside a linux-distribution(slackware,debian)
 
Old 12-07-2023, 03:36 AM   #4
lvm_
Member
 
Registered: Jul 2020
Posts: 928

Rep: Reputation: 337Reputation: 337Reputation: 337Reputation: 337
*These* files.

Code:
/usr/src/linux-headers-5.4.0-166/arch/h8300/include/asm/hash.h
/usr/src/linux-headers-5.4.0-166/arch/m68k/include/asm/hash.h
/usr/src/linux-headers-5.4.0-166/arch/microblaze/include/asm/hash.h
/usr/src/linux-headers-5.4.0-166/arch/parisc/include/asm/hash.h
/usr/src/linux-headers-5.4.0-166/arch/powerpc/include/asm/book3s/32/hash.h
/usr/src/linux-headers-5.4.0-166/arch/powerpc/include/asm/book3s/64/hash.h
/usr/src/linux-headers-5.4.0-166/include/crypto/hash.h
/usr/src/linux-headers-5.4.0-166/include/crypto/internal/hash.h
/usr/src/linux-headers-5.4.0-166/include/linux/hash.h
/usr/src/linux-headers-5.4.0-166/include/linux/crush/hash.h
/usr/src/linux-headers-5.4.0-166/include/net/netns/hash.h
/usr/src/linux-headers-5.4.0-166-generic/include/config/cifs/weak/pw/hash.h
/usr/src/linux-headers-5.4.0-166-generic/include/config/crypto/hash.h
/usr/src/linux-headers-5.4.0-166-generic/include/config/crypto/drbg/hash.h
/usr/src/linux-headers-5.4.0-166-generic/include/config/crypto/user/api/hash.h
/usr/src/linux-headers-5.4.0-166-generic/include/config/ima/default/hash.h
/usr/src/linux-headers-5.4.0-166-generic/include/config/module/sig/hash.h
/usr/src/linux-headers-5.4.0-166-generic/include/config/nft/hash.h
/usr/src/linux-headers-5.4.0-166-generic/include/config/security/apparmor/hash.h
 
Old 12-07-2023, 04:32 AM   #5
slackuj
Member
 
Registered: Oct 2021
Location: Nepal
Distribution: Debian 11,Slackware
Posts: 41

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by lvm_ View Post
*These* files.

Code:
/usr/src/linux-headers-5.4.0-166/arch/h8300/include/asm/hash.h
/usr/src/linux-headers-5.4.0-166/arch/m68k/include/asm/hash.h
/usr/src/linux-headers-5.4.0-166/arch/microblaze/include/asm/hash.h
/usr/src/linux-headers-5.4.0-166/arch/parisc/include/asm/hash.h
/usr/src/linux-headers-5.4.0-166/arch/powerpc/include/asm/book3s/32/hash.h
/usr/src/linux-headers-5.4.0-166/arch/powerpc/include/asm/book3s/64/hash.h
/usr/src/linux-headers-5.4.0-166/include/crypto/hash.h
/usr/src/linux-headers-5.4.0-166/include/crypto/internal/hash.h
/usr/src/linux-headers-5.4.0-166/include/linux/hash.h
/usr/src/linux-headers-5.4.0-166/include/linux/crush/hash.h
/usr/src/linux-headers-5.4.0-166/include/net/netns/hash.h
/usr/src/linux-headers-5.4.0-166-generic/include/config/cifs/weak/pw/hash.h
/usr/src/linux-headers-5.4.0-166-generic/include/config/crypto/hash.h
/usr/src/linux-headers-5.4.0-166-generic/include/config/crypto/drbg/hash.h
/usr/src/linux-headers-5.4.0-166-generic/include/config/crypto/user/api/hash.h
/usr/src/linux-headers-5.4.0-166-generic/include/config/ima/default/hash.h
/usr/src/linux-headers-5.4.0-166-generic/include/config/module/sig/hash.h
/usr/src/linux-headers-5.4.0-166-generic/include/config/nft/hash.h
/usr/src/linux-headers-5.4.0-166-generic/include/config/security/apparmor/hash.h
my /usr/src directory is empty!?
 
Old 12-07-2023, 06:35 AM   #6
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,855

Rep: Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311
you need to install kernel headers
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Is the hash in "rootpw --iscrypted HASH" in Kickstart encrypted with md5? Rogue45 Linux - Newbie 1 08-01-2012 12:46 AM
Perl Hashes -- Updating a hash ref via hash value 0.o Programming 5 06-05-2012 12:45 PM
Perl Hash of Hash reference query kdelover Programming 1 02-19-2011 04:47 AM
need help unpacking hmac-md5 hash into md5 hash lynx5 Programming 3 02-02-2008 04:06 PM
Using hash value as key for other hash in Perl scuzzman Programming 6 02-14-2006 05:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 07:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration