What is a n*.o.ur-safe file in a Linux module (compiled with make)? [closed]












0















I am trying to create a kernel module. When I compile the module it generates an object file with extension *.o.ur-safe. When I open the file, it shows a result like this:



/home/vijay/project/block_new/releaseDev.o-.text-3c


Content of my Makefile is:



*



INSTALL_DIR=modules
ifneq (${KERNELRELEASE},)
obj-m :=blkdev1.o
blkdev1-objs := init.o clean.o openDev.o releaseDev.o request.o transfer.o datatf.o
else
KERNELDIR ?= /lib/modules/$(shell uname -r)/build
PWD := $(shell pwd)
default:
$(MAKE) -C $(KERNELDIR) M=$(PWD) modules
@rm -rf ${INSTALL_DIR}
@mkdir ${INSTALL_DIR}
@mv -f *.o *.ko *.mod.c .*.cmd ${INSTALL_DIR}
clean:
rm -rf ${INSTALL_DIR}
endif


*



after using the make command, openDev.o.ur-safe and releaseDev.o.ur-safe were created.



What are these files and why are they created?










share|improve this question















closed as unclear what you're asking by Pilot6, Parto, waltinator, N0rbert, Eric Carvalho Mar 13 at 1:04


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.



















  • Please edit your question to add more context - how exactly are you trying to create the module? If you are using a Makefile, please share its contents

    – steeldriver
    Mar 12 at 12:12











  • At the end of this file, github.com/jlgreathouse/AMD_IBS_Toolkit/blob/master/.gitignore they seem to be some kind of temporary kernel build files generated when building on Ubuntu 18.04. Search for Github ".ur-safe" on google to see how other people deal with these files.

    – Parto
    2 days ago
















0















I am trying to create a kernel module. When I compile the module it generates an object file with extension *.o.ur-safe. When I open the file, it shows a result like this:



/home/vijay/project/block_new/releaseDev.o-.text-3c


Content of my Makefile is:



*



INSTALL_DIR=modules
ifneq (${KERNELRELEASE},)
obj-m :=blkdev1.o
blkdev1-objs := init.o clean.o openDev.o releaseDev.o request.o transfer.o datatf.o
else
KERNELDIR ?= /lib/modules/$(shell uname -r)/build
PWD := $(shell pwd)
default:
$(MAKE) -C $(KERNELDIR) M=$(PWD) modules
@rm -rf ${INSTALL_DIR}
@mkdir ${INSTALL_DIR}
@mv -f *.o *.ko *.mod.c .*.cmd ${INSTALL_DIR}
clean:
rm -rf ${INSTALL_DIR}
endif


*



after using the make command, openDev.o.ur-safe and releaseDev.o.ur-safe were created.



What are these files and why are they created?










share|improve this question















closed as unclear what you're asking by Pilot6, Parto, waltinator, N0rbert, Eric Carvalho Mar 13 at 1:04


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.



















  • Please edit your question to add more context - how exactly are you trying to create the module? If you are using a Makefile, please share its contents

    – steeldriver
    Mar 12 at 12:12











  • At the end of this file, github.com/jlgreathouse/AMD_IBS_Toolkit/blob/master/.gitignore they seem to be some kind of temporary kernel build files generated when building on Ubuntu 18.04. Search for Github ".ur-safe" on google to see how other people deal with these files.

    – Parto
    2 days ago














0












0








0








I am trying to create a kernel module. When I compile the module it generates an object file with extension *.o.ur-safe. When I open the file, it shows a result like this:



/home/vijay/project/block_new/releaseDev.o-.text-3c


Content of my Makefile is:



*



INSTALL_DIR=modules
ifneq (${KERNELRELEASE},)
obj-m :=blkdev1.o
blkdev1-objs := init.o clean.o openDev.o releaseDev.o request.o transfer.o datatf.o
else
KERNELDIR ?= /lib/modules/$(shell uname -r)/build
PWD := $(shell pwd)
default:
$(MAKE) -C $(KERNELDIR) M=$(PWD) modules
@rm -rf ${INSTALL_DIR}
@mkdir ${INSTALL_DIR}
@mv -f *.o *.ko *.mod.c .*.cmd ${INSTALL_DIR}
clean:
rm -rf ${INSTALL_DIR}
endif


*



after using the make command, openDev.o.ur-safe and releaseDev.o.ur-safe were created.



What are these files and why are they created?










share|improve this question
















I am trying to create a kernel module. When I compile the module it generates an object file with extension *.o.ur-safe. When I open the file, it shows a result like this:



/home/vijay/project/block_new/releaseDev.o-.text-3c


Content of my Makefile is:



*



INSTALL_DIR=modules
ifneq (${KERNELRELEASE},)
obj-m :=blkdev1.o
blkdev1-objs := init.o clean.o openDev.o releaseDev.o request.o transfer.o datatf.o
else
KERNELDIR ?= /lib/modules/$(shell uname -r)/build
PWD := $(shell pwd)
default:
$(MAKE) -C $(KERNELDIR) M=$(PWD) modules
@rm -rf ${INSTALL_DIR}
@mkdir ${INSTALL_DIR}
@mv -f *.o *.ko *.mod.c .*.cmd ${INSTALL_DIR}
clean:
rm -rf ${INSTALL_DIR}
endif


*



after using the make command, openDev.o.ur-safe and releaseDev.o.ur-safe were created.



What are these files and why are they created?







drivers






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 2 days ago









Zanna

51k13138242




51k13138242










asked Mar 12 at 7:34









VijayVijay

184




184




closed as unclear what you're asking by Pilot6, Parto, waltinator, N0rbert, Eric Carvalho Mar 13 at 1:04


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.









closed as unclear what you're asking by Pilot6, Parto, waltinator, N0rbert, Eric Carvalho Mar 13 at 1:04


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.















  • Please edit your question to add more context - how exactly are you trying to create the module? If you are using a Makefile, please share its contents

    – steeldriver
    Mar 12 at 12:12











  • At the end of this file, github.com/jlgreathouse/AMD_IBS_Toolkit/blob/master/.gitignore they seem to be some kind of temporary kernel build files generated when building on Ubuntu 18.04. Search for Github ".ur-safe" on google to see how other people deal with these files.

    – Parto
    2 days ago



















  • Please edit your question to add more context - how exactly are you trying to create the module? If you are using a Makefile, please share its contents

    – steeldriver
    Mar 12 at 12:12











  • At the end of this file, github.com/jlgreathouse/AMD_IBS_Toolkit/blob/master/.gitignore they seem to be some kind of temporary kernel build files generated when building on Ubuntu 18.04. Search for Github ".ur-safe" on google to see how other people deal with these files.

    – Parto
    2 days ago

















Please edit your question to add more context - how exactly are you trying to create the module? If you are using a Makefile, please share its contents

– steeldriver
Mar 12 at 12:12





Please edit your question to add more context - how exactly are you trying to create the module? If you are using a Makefile, please share its contents

– steeldriver
Mar 12 at 12:12













At the end of this file, github.com/jlgreathouse/AMD_IBS_Toolkit/blob/master/.gitignore they seem to be some kind of temporary kernel build files generated when building on Ubuntu 18.04. Search for Github ".ur-safe" on google to see how other people deal with these files.

– Parto
2 days ago





At the end of this file, github.com/jlgreathouse/AMD_IBS_Toolkit/blob/master/.gitignore they seem to be some kind of temporary kernel build files generated when building on Ubuntu 18.04. Search for Github ".ur-safe" on google to see how other people deal with these files.

– Parto
2 days ago










0






active

oldest

votes

















0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes

Popular posts from this blog

How did Captain America manage to do this?

迪纳利

南乌拉尔铁路局