sysfs_attr_seclvl.attr.owner = THIS_MODULE; sysfs_attr_passwd.attr.owner = THIS_MODULE; 
static int __init seclvl_init(void){	int rc = 0;	if (verbosity < 0 || verbosity > 1) {		printk(KERN_ERR "Error: bad verbosity [%d]; only 0 or 1 "		       "are valid values\n", verbosity);		rc = -EINVAL;		goto exit;	}	sysfs_attr_seclvl.attr.owner = THIS_MODULE;	sysfs_attr_passwd.attr.owner = THIS_MODULE;	if (initlvl < -1 || initlvl > 2) {		seclvl_printk(0, KERN_ERR, "Error: bad initial securelevel "			      "[%d].\n", initlvl);		rc = -EINVAL;		goto exit;	}	seclvl = initlvl;	if ((rc = processPassword())) {		seclvl_printk(0, KERN_ERR, "Error processing the password "			      "module parameter(s): rc = [%d]\n", rc);		goto exit;	}	/* register ourselves with the security framework */	if (register_security(&seclvl_ops)) {		seclvl_printk(0, KERN_ERR,			      "seclvl: Failure registering with the "			      "kernel.\n");		/* try registering with primary module */		rc = mod_reg_security(MY_NAME, &seclvl_ops);		if (rc) {			seclvl_printk(0, KERN_ERR, "seclvl: Failure "				      "registering with primary security "				      "module.\n");			goto exit;		}		/* if primary module registered */		secondary = 1;	}			/* if we registered ourselves with the security framework */	if ((rc = doSysfsRegistrations())) {		seclvl_printk(0, KERN_ERR, "Error registering with sysfs\n");		goto exit;	}	seclvl_printk(0, KERN_INFO, "seclvl: Successfully initialized.\n"); exit:	if (rc) {		printk(KERN_ERR "seclvl: Error during initialization: rc = "		       "[%d]\n", rc);	}	return rc;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/5a73c308754e27829c94544e010f133019cbd432/seclvl.c/clean/security/seclvl.c